/* =============================================
   IMMOPRO v2 — Premium · Luxe · Responsive
   Ivoire · Vert sauge · Or champagne
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } 

:root {
    --ivory:        #faf7f2;
    --ivory-2:      #f2ede3;
    --ivory-3:      #e8e0d4;
    --sage:         #5c7a6a;
    --sage-light:   #7a9e8a;
    --sage-dark:    #3d5c4e;
    --gold:         #b8962e;
    --gold-light:   #d4af37;
    --charcoal:     #1a1a14;
    --charcoal-2:   #252519;
    --text:         #1e1a12;
    --text-mid:     #5a5040;
    --text-muted:   #8a7c68;
    --border:       rgba(92,122,106,0.16);
    --border-gold:  rgba(184,150,46,0.22);
    --grad-sage:    linear-gradient(135deg, #3d5c4e 0%, #5c7a6a 100%);
    --grad-gold:    linear-gradient(90deg, #9a7a20, #d4af37, #9a7a20);
    --grad-hero:    linear-gradient(135deg, #3d5c4e, #b8962e);
    --font-serif:   'Cormorant Garamond', serif;
    --font-sans:    'Jost', sans-serif;
    --pad-x:        clamp(20px, 5vw, 80px);
    --pad-section:  clamp(70px, 10vw, 130px);
}

html { scroll-behavior: smooth; }

body {
    background: var(--ivory);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }

img { display: block; max-width: 100%; }

/* =============================================
   HEADER
   ============================================= */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--pad-x);
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

header.scrolled {
    background: rgba(250,247,242,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-gold), 0 4px 30px rgba(0,0,0,0.06);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-serif);
    font-size: clamp(1.2em, 3vw, 1.6em);
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 110;
    flex-shrink: 0;
}

.logo-mark {
    color: var(--gold);
    font-size: 0.6em;
    display: inline-block;
    animation: spin 14s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.logo-text { color: var(--text); }

/* Nav desktop */
nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.78em;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta-mobile { display: none; }

/* Nav CTA desktop */
.nav-cta {
    font-size: 0.78em;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ivory);
    background: var(--grad-hero);
    padding: 11px 24px;
    border-radius: 4px;
    transition: opacity 0.25s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(61,92,78,0.3);
    flex-shrink: 0;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
#home {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 100px);
    padding: clamp(100px, 14vw, 140px) var(--pad-x) clamp(60px, 8vw, 100px);
    position: relative;
    overflow: hidden;
    background: var(--ivory);
}

/* Dot pattern background */
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(184,150,46,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black, transparent);
}

.hero-content {
    flex: 1;
    min-width: 0;
    z-index: 1;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(0.65em, 1.5vw, 0.75em);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: clamp(18px, 3vw, 28px);
}

.label-bar {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--sage);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3em, 7vw, 6.5em);
    font-weight: 600;
    line-height: 1.02;
    color: var(--text);
    margin-bottom: clamp(20px, 3vw, 30px);
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--sage-dark);
}

.hero-desc {
    font-size: clamp(0.92em, 2vw, 1.05em);
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: clamp(28px, 4vw, 44px);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--grad-hero);
    color: var(--ivory);
    font-family: var(--font-sans);
    font-size: clamp(0.75em, 1.5vw, 0.82em);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px clamp(24px, 4vw, 40px);
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 6px 28px rgba(61,92,78,0.28);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(61,92,78,0.38);
}

.btn-ghost {
    display: inline-block;
    color: var(--text-mid);
    font-family: var(--font-sans);
    font-size: clamp(0.75em, 1.5vw, 0.82em);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px clamp(20px, 3vw, 32px);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.btn-ghost:hover {
    border-color: var(--gold);
    background: rgba(184,150,46,0.07);
    color: var(--sage-dark);
}

/* Hero visual — image + pills */
.hero-visual {
    position: relative;
    flex-shrink: 0;
    width: clamp(280px, 40vw, 480px);
    z-index: 1;
    animation: fadeUp 0.9s 0.25s ease both;
}

.hero-img-wrap {
    position: relative;
    border-radius: 6px;
    overflow: visible;
}

/* Ornamental corners */
.corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--gold);
    border-style: solid;
    z-index: 2;
}
.c-tl { top: -7px;  left: -7px;  border-width: 2px 0 0 2px; }
.c-tr { top: -7px;  right: -7px; border-width: 2px 2px 0 0; }
.c-bl { bottom: -7px; left: -7px;  border-width: 0 0 2px 2px; }
.c-br { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

.hero-img {
    width: 100%;
    height: clamp(300px, 45vw, 520px);
    object-fit: cover;
    border-radius: 6px;
    filter: brightness(0.94) saturate(0.85);
}

/* Floating pills */
.hero-pill {
    position: absolute;
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: clamp(0.72em, 1.5vw, 0.82em);
    font-weight: 500;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.pill-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pill-dot.green { background: var(--sage); box-shadow: 0 0 6px var(--sage); }
.pill-dot.gold  { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.pill-dot.sage  { background: var(--sage-light); box-shadow: 0 0 6px var(--sage-light); }

.pill-1 { top: 16px;  left: -30px;  animation: float 5s 0s ease-in-out infinite; }
.pill-2 { top: 48%;   left: -44px;  animation: float 5s 1.5s ease-in-out infinite; }
.pill-3 { bottom: 20px; right: -20px; animation: float 5s 3s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--charcoal);
    padding: clamp(28px, 4vw, 40px) var(--pad-x);
    border-top: 1px solid rgba(184,150,46,0.2);
    border-bottom: 1px solid rgba(184,150,46,0.2);
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 20px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible { opacity: 1; transform: translateY(0); }

.stat-num {
    font-family: var(--font-serif);
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: 600;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-lbl {
    font-size: clamp(0.68em, 1.5vw, 0.78em);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* =============================================
   SHARED SECTION ELEMENTS
   ============================================= */
.section-head {
    margin-bottom: clamp(40px, 6vw, 70px);
}

.section-head.centered { text-align: center; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.65em, 1.5vw, 0.72em);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 14px;
}

.eyebrow.eyebrow-light { color: var(--sage-light); }
.eyebrow.centered { justify-content: center; }

.eyebrow-bar {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--sage);
    flex-shrink: 0;
}

.eyebrow-bar.light { background: var(--sage-light); }

.s-title {
    font-family: var(--font-serif);
    font-size: clamp(2em, 5vw, 3.6em);
    font-weight: 600;
    line-height: 1.08;
    color: var(--text);
    letter-spacing: -0.01em;
}

.s-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--sage-dark);
}

.s-title.light { color: rgba(250,247,242,0.95); }
.s-title.light em { color: var(--gold-light); }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SERVICES
   ============================================= */
#services {
    padding: var(--pad-section) var(--pad-x);
    background: var(--ivory-2);
    border-top: 1px solid var(--border-gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    overflow: hidden;
    background: var(--border-gold);
    gap: 1px;
}

.svc {
    background: var(--ivory);
    padding: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 36px);
    position: relative;
    transition: background 0.3s;
}

.svc:hover { background: var(--ivory-2); }

.svc-featured {
    background: var(--grad-hero) !important;
}

.svc-featured .svc-num,
.svc-featured h3,
.svc-featured p { color: rgba(255,255,255,0.9) !important; }

.svc-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.85em;
    font-weight: 300;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: clamp(18px, 3vw, 28px);
}

.svc-icon {
    font-size: clamp(1.5em, 3vw, 2em);
    margin-bottom: clamp(14px, 2vw, 20px);
    display: block;
}

.svc h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.2em, 2.5vw, 1.55em);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.svc p {
    font-size: clamp(0.85em, 1.5vw, 0.92em);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.svc-tag {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dark);
    border: 1px solid var(--border);
    background: rgba(92,122,106,0.07);
    padding: 5px 13px;
    border-radius: 3px;
}

.svc-tag-light {
    color: white;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
}

/* =============================================
   TRUST
   ============================================= */
#trust {
    padding: var(--pad-section) var(--pad-x);
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

#trust::after {
    content: 'ImmoPro';
    position: absolute;
    font-family: var(--font-serif);
    font-size: clamp(10vw, 18vw, 20vw);
    font-weight: 700;
    color: rgba(255,255,255,0.018);
    bottom: -30px;
    right: -20px;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}

.trust-inner {
    display: flex;
    gap: clamp(40px, 8vw, 100px);
    align-items: flex-start;
    flex-wrap: wrap;
}

.trust-left {
    flex: 1;
    min-width: min(100%, 280px);
}

.trust-left .s-title { margin-bottom: 22px; }

.trust-text {
    font-size: clamp(0.88em, 1.8vw, 0.97em);
    color: rgba(255,255,255,0.48);
    line-height: 1.9;
    max-width: 480px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tbadge {
    font-size: 0.76em;
    letter-spacing: 0.06em;
    color: var(--gold-light);
    border: 1px solid rgba(212,175,55,0.28);
    background: rgba(212,175,55,0.06);
    padding: 6px 15px;
    border-radius: 3px;
}

.trust-right {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    overflow: hidden;
    min-width: clamp(200px, 28vw, 320px);
}

.tstat {
    padding: clamp(22px, 3vw, 34px) clamp(28px, 4vw, 50px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.25s;
}

.tstat:last-child { border-bottom: none; }
.tstat:hover { background: rgba(255,255,255,0.03); }

.tstat.reveal { transform: translateX(16px); }
.tstat.reveal.visible { transform: translateY(0) translateX(0); }
.tstat:nth-child(2) { transition-delay: 0.1s; }
.tstat:nth-child(3) { transition-delay: 0.2s; }

.tstat-num {
    font-family: var(--font-serif);
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 600;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.tstat-lbl {
    font-size: 0.78em;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}

/* =============================================
   GALLERY
   ============================================= */
#gallery {
    padding: var(--pad-section) var(--pad-x);
    background: var(--ivory);
    border-top: 1px solid var(--border-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
    gap: 14px;
}

.gitem {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    background: var(--ivory-2);
}

.gitem-big { grid-row: span 2; }

.gitem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s;
    filter: brightness(0.9) saturate(0.82);
}

.gitem:hover img {
    transform: scale(1.06);
    filter: brightness(0.78) saturate(0.78);
}

.goverlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px 18px 18px;
    background: linear-gradient(transparent, rgba(20,18,10,0.8));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s, transform 0.35s;
}

.gitem:hover .goverlay { opacity: 1; transform: translateY(0); }

.gtag {
    display: inline-block;
    font-size: 0.66em;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid rgba(212,175,55,0.5);
    padding: 2px 9px;
    border-radius: 2px;
    margin-bottom: 7px;
}

.gtitle {
    font-family: var(--font-serif);
    font-size: clamp(0.95em, 2vw, 1.1em);
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.gloc {
    font-size: 0.78em;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.04em;
}

/* Reveal delays for gallery */
.gitem:nth-child(2).reveal { transition-delay: 0.1s; }
.gitem:nth-child(3).reveal { transition-delay: 0.15s; }
.gitem:nth-child(4).reveal { transition-delay: 0.2s; }

/* =============================================
   REVIEWS
   ============================================= */
#reviews {
    padding: var(--pad-section) var(--pad-x);
    background: var(--ivory-2);
    border-top: 1px solid var(--border-gold);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rcard {
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
    transition: box-shadow 0.3s;
}

.rcard:hover { box-shadow: 0 12px 50px rgba(184,150,46,0.1); }

.rcard:nth-child(2).reveal { transition-delay: 0.12s; }
.rcard:nth-child(3).reveal { transition-delay: 0.24s; }

.rquote {
    font-family: var(--font-serif);
    font-size: clamp(3em, 6vw, 4.5em);
    font-weight: 700;
    color: var(--gold-light);
    opacity: 0.28;
    line-height: 0.8;
    margin-bottom: 18px;
}

.rcard p {
    font-size: clamp(0.88em, 1.8vw, 0.95em);
    color: var(--text-muted);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 24px;
}

.rfooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-gold);
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.rstars {
    color: var(--gold);
    font-size: 0.85em;
    letter-spacing: 2px;
}

.rauthor {
    font-size: 0.78em;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--sage-dark);
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
    padding: var(--pad-section) var(--pad-x);
    background: var(--ivory);
    border-top: 1px solid var(--border-gold);
}

.contact-inner {
    display: flex;
    gap: clamp(40px, 8vw, 100px);
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-left {
    flex: 1;
    min-width: min(100%, 260px);
}

.contact-left .s-title { margin-bottom: 36px; }

.cdetails {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.citem {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.citem:nth-child(2).reveal { transition-delay: 0.08s; }
.citem:nth-child(3).reveal { transition-delay: 0.16s; }
.citem:nth-child(4).reveal { transition-delay: 0.24s; }

.cicon {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: rgba(92,122,106,0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.citem strong {
    display: block;
    font-size: 0.7em;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 3px;
}

.citem p {
    font-size: 0.9em;
    color: var(--text-muted);
}

/* Form */
.contact-right {
    flex: 1;
    min-width: min(100%, 300px);
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.fgroup {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fgroup label {
    font-size: 0.7em;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

form input,
form textarea,
form select {
    background: var(--ivory-2);
    border: 1px solid var(--border-gold);
    border-radius: 5px;
    padding: 14px 16px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.93em;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

form input::placeholder,
form textarea::placeholder { color: rgba(90,80,64,0.35); }

form input:focus,
form textarea:focus,
form select:focus {
    border-color: var(--sage);
    background: var(--ivory);
    box-shadow: 0 0 0 3px rgba(92,122,106,0.1);
}

form textarea { min-height: 130px; resize: vertical; }

form .btn-primary {
    align-self: flex-start;
    font-size: 0.78em;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--charcoal-2, #252519);
    padding: clamp(36px, 6vw, 56px) var(--pad-x) clamp(20px, 3vw, 30px);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: clamp(24px, 4vw, 36px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: clamp(18px, 3vw, 26px);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: clamp(1.2em, 2.5vw, 1.5em);
    font-weight: 600;
    color: rgba(250,247,242,0.88);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav {
    display: flex;
    gap: clamp(16px, 3vw, 30px);
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.78em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    font-size: 0.78em;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.26);
    transition: color 0.2s;
}

.footer-socials a:hover { color: var(--sage-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.75em;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--gold-light); }

/* =============================================
   RESPONSIVE TABLETTE ≤ 1024px
   ============================================= */
@media (max-width: 1024px) {
    /* Services : 2 colonnes */
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    /* Gallery : 2 colonnes */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 220px 220px 220px;
    }
    .gitem-big { grid-row: span 2; }

    /* Reviews : 1 colonne */
    .reviews-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

    /* Stats band */
    .stat-sep { display: none; }
    .stats-band { gap: 8px; }
    .stat-item { flex: 0 0 calc(50% - 8px); }

    /* Trust */
    .trust-right { width: 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; border: none; gap: 12px; }
    .tstat { flex: 1; min-width: 140px; border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; }
}

/* =============================================
   RESPONSIVE MOBILE ≤ 768px
   ============================================= */
@media (max-width: 768px) {
    /* Header */
    .nav-cta { display: none; }
    .menu-toggle { display: flex; }

    /* Mobile nav — overlay plein écran */
    nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(250,247,242,0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 105;
        padding: 80px 24px 40px;
    }

    nav.open { display: flex; }

    .nav-link {
        font-size: 1.1em;
        letter-spacing: 0.16em;
        color: var(--text);
        padding: 4px 0;
    }

    .nav-cta-mobile {
        display: inline-block;
        margin-top: 12px;
        background: var(--grad-hero);
        color: var(--ivory);
        font-size: 0.8em;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 14px 32px;
        border-radius: 4px;
    }

    /* Hero — colonne */
    #home {
        flex-direction: column;
        align-items: flex-start;
        padding-top: clamp(90px, 18vw, 110px);
        padding-bottom: 60px;
        gap: 40px;
    }

    .hero-visual {
        width: 100%;
        max-width: 480px;
    }

    .hero-img { height: clamp(220px, 55vw, 320px); }

    .pill-1 { left: -10px; }
    .pill-2 { left: -10px; }
    .pill-3 { right: -10px; }

    /* Stats band */
    .stats-band { flex-direction: column; gap: 0; }
    .stat-item { width: 100%; flex: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 18px 0; }
    .stat-item:last-child { border-bottom: none; }

    /* Services — 1 colonne */
    .services-grid { grid-template-columns: 1fr; }

    /* Trust */
    .trust-inner { flex-direction: column; gap: 40px; }
    .trust-right { flex-direction: column; }
    .tstat { width: 100%; flex: none; }

    /* Gallery — 1 colonne */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .gitem { height: 220px; }
    .gitem-big { grid-row: span 1; }

    /* Reviews */
    .reviews-grid { grid-template-columns: 1fr; max-width: 100%; }

    /* Contact */
    .contact-inner { flex-direction: column; gap: 44px; }
    .frow { grid-template-columns: 1fr; }
    form .btn-primary { width: 100%; text-align: center; }

    /* Footer */
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-nav { flex-wrap: wrap; gap: 14px; }
    .footer-socials { flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   RESPONSIVE TRÈS PETIT ≤ 420px
   ============================================= */
@media (max-width: 420px) {
    .hero-title { font-size: 2.6em; }
    .s-title { font-size: 1.9em; }
    .pill-1, .pill-2, .pill-3 { font-size: 0.68em; padding: 8px 13px; }
    .trust-badges { flex-direction: column; }
    .tbadge { width: 100%; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; }
}
