/* ===== VARIABLES ===== */
:root {
    --primary:        #2563eb;
    --primary-dark:   #1d4ed8;
    --primary-light:  #3b82f6;
    --secondary:      #f59e0b;
    --secondary-dark: #d97706;
    --red:            #ef4444;
    --red-dark:       #dc2626;
    --green:          #10b981;
    --purple:         #8b5cf6;
    --dark:           #1f2937;
    --text:           #374151;
    --text-light:     #6b7280;
    --border:         #e5e7eb;
    --white:          #ffffff;
    --bg-gray:        #f9fafb;
    --bg-dark:        #111827;
    --shadow:         0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-md:      0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-lg:      0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
    --shadow-xl:      0 25px 50px -12px rgba(0,0,0,.25);
    --radius-sm:      8px;
    --radius:         12px;
    --radius-lg:      20px;
    --transition:     all .3s ease;
    --nav-h:          72px;
    --font-head:      'Poppins', sans-serif;
    --font-body:      'Open Sans', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,.4);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-danger {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-danger:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239,68,68,.4);
}
.mt-2 { margin-top: .75rem; }

/* ===== LAYOUT HELPERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-white { background: var(--white); }
.section-gray  { background: var(--bg-gray); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
    display: inline-block;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section-badge--light {
    background: rgba(255,255,255,.15);
    color: var(--white);
}
.section-header--light .section-title,
.section-header--light .section-subtitle { color: var(--white); }
.section-header--light .section-title em { color: var(--secondary); }
.section-title { margin-bottom: .75rem; }
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background .3s ease, box-shadow .3s ease;
    background: transparent;
}
#navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
#navbar.scrolled .nav-logo .logo-spc { color: var(--primary); }
#navbar.scrolled .nav-logo .logo-renovation { color: var(--dark); }
#navbar.scrolled .nav-link { color: var(--dark); }
#navbar.scrolled .nav-link:hover { color: var(--primary); }
#navbar.scrolled .nav-phone { background: var(--primary); color: var(--white); }
#navbar.scrolled .hamburger span { background: var(--dark); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: .15em;
    flex-shrink: 0;
}
.logo-spc { color: var(--white); transition: color .3s; }
.logo-renovation { color: rgba(255,255,255,.85); transition: color .3s; }

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-link {
    padding: .5rem .75rem;
    color: rgba(255,255,255,.9);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .92rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav-phone {
    padding: .5rem 1rem;
    background: var(--secondary);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.nav-phone:hover { background: var(--secondary-dark); transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    flex-shrink: 0;
}
.hamburger span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('../images/3954492114428147824.JPG');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(17,24,39,.88) 0%,
        rgba(30,64,175,.75) 60%,
        rgba(37,99,235,.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(245,158,11,.2);
    border: 1px solid rgba(245,158,11,.4);
    color: var(--secondary);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    animation: fadeInDown .8s ease .2s both;
}
.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    animation: fadeInDown .8s ease .35s both;
}
.hero-title-main {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title-sub {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255,255,255,.85);
    margin-top: .5rem;
}
.hero-slogan {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(.9rem, 2vw, 1.1rem);
    color: var(--secondary);
    letter-spacing: .05em;
    margin-bottom: .75rem;
    animation: fadeInDown .8s ease .5s both;
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
    animation: fadeInDown .8s ease .6s both;
    line-height: 1.8;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInDown .8s ease .75s both;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp .8s ease 1s both;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-number {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    margin-top: .25rem;
}
.stat-divider {
    width: 1px; height: 40px;
    background: rgba(255,255,255,.25);
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,.7);
    font-size: 1.25rem;
    animation: bounce 2s infinite;
    transition: color .3s;
}
.hero-scroll:hover { color: var(--white); }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about-text p { color: var(--text); font-size: 1.05rem; }
.about-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.about-zone {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-light);
}
.about-zone i { color: var(--primary); }
.about-strengths h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.strengths-list { display: flex; flex-direction: column; gap: 1.25rem; }
.strengths-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-gray);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.strengths-list li:hover {
    background: rgba(37,99,235,.05);
    transform: translateX(4px);
}
.strength-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.strengths-list li > div strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .2rem;
}
.strengths-list li > div p {
    font-size: .9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,.2);
}
.service-card--urgent {
    border-color: rgba(239,68,68,.2);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}
.service-card--urgent:hover { border-color: rgba(239,68,68,.4); }
.service-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.service-icon--blue   { background: rgba(37,99,235,.12);  color: var(--primary); }
.service-icon--orange { background: rgba(245,158,11,.12); color: #d97706; }
.service-icon--yellow { background: rgba(234,179,8,.15);  color: #ca8a04; }
.service-icon--green  { background: rgba(16,185,129,.12); color: #059669; }
.service-icon--purple { background: rgba(139,92,246,.12); color: var(--purple); }
.service-icon--red    { background: rgba(239,68,68,.12);  color: var(--red); }
.service-card h3 { font-size: 1.2rem; color: var(--dark); }
.service-card > p { font-size: .95rem; color: var(--text-light); margin: 0; }
.service-list {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .25rem;
}
.service-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    color: var(--text);
}
.service-list li i { color: var(--green); font-size: .75rem; flex-shrink: 0; }
.service-card .btn { margin-top: .5rem; align-self: flex-start; }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: var(--bg-gray);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(17,24,39,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    color: var(--white);
    font-size: 1.8rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn .25s ease;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-content {
    position: relative;
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.lb-content img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 60px rgba(0,0,0,.6);
}
.lb-caption {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    text-align: center;
    max-width: 600px;
    margin: 0;
}
.lb-counter {
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    font-family: var(--font-head);
}
.lb-close {
    position: fixed;
    top: 1.25rem; right: 1.25rem;
    color: var(--white);
    font-size: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2001;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-prev, .lb-next {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    color: var(--white);
    font-size: 1.25rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2001;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }

/* ===== WHY US ===== */
.section-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 60%, #3b82f6 100%);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
.why-item {
    text-align: center;
    padding: 2rem 1.25rem;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.15);
    transition: var(--transition);
}
.why-item:hover {
    background: rgba(255,255,255,.15);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.3);
}
.why-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px rgba(245,158,11,.4);
}
.why-item h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: .5rem;
}
.why-item p { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }

/* ===== ZONE D'INTERVENTION ===== */
.zone-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}
.map-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.map-card i { font-size: 3.5rem; margin-bottom: 1rem; opacity: .9; }
.map-card h3 { color: var(--white); font-size: 2rem; margin-bottom: .25rem; }
.map-card p { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; font-size: 1rem; }
.zone-info h3 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.zone-info h3 i { color: var(--primary); }
.communes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem 2rem;
    margin-bottom: 1.5rem;
}
.communes-grid ul { display: flex; flex-direction: column; gap: .6rem; }
.communes-grid li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: var(--text);
}
.communes-grid li i { color: var(--primary); font-size: .75rem; }
.zone-note {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: rgba(37,99,235,.07);
    border: 1px solid rgba(37,99,235,.15);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: .9rem;
    color: var(--text-light);
}
.zone-note i { color: var(--primary); margin-top: .1rem; flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.info-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.info-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(37,99,235,.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.info-item > div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.info-item strong {
    font-family: var(--font-head);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-light);
}
.info-item a {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}
.info-item a:hover { color: var(--primary-dark); }
.info-item span {
    font-size: .95rem;
    color: var(--text);
}
.urgent-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(239,68,68,.1);
    color: var(--red);
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
    font-family: var(--font-head);
    font-weight: 700;
    margin-top: .25rem;
}
.contact-social p {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: .75rem;
}
.social-links { display: flex; gap: .75rem; }
.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Form */
.contact-form-wrap {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1.25rem;
}
.form-group:last-of-type { margin-bottom: 1rem; }
.form-group label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
}
.required { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: .75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; }
.form-error {
    font-size: .8rem;
    color: var(--red);
    font-family: var(--font-head);
    min-height: .9rem;
}
.form-check {
    flex-direction: row !important;
    align-items: flex-start;
    gap: .75rem;
}
.form-check input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary);
    margin-top: .15rem;
    cursor: pointer;
}
.form-check label { font-size: .88rem; color: var(--text-light); cursor: pointer; }
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}
.success-icon {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 1rem;
}
.form-success h3 { margin-bottom: .75rem; }
.form-success p { color: var(--text-light); margin-bottom: 1.5rem; }

/* ===== TEAM SECTION ===== */
.team-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4.5rem;
    align-items: center;
}
.team-photo-col { position: relative; }
.team-photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-xl);
    background: var(--border);
}
.team-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.team-photo-placeholder {
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    background: linear-gradient(135deg, #e9ecef 0%, #f3f4f6 100%);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}
.team-photo-placeholder i    { font-size: 3.5rem; opacity: .3; }
.team-photo-placeholder p    { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--dark); margin: 0; }
.team-photo-placeholder small { font-size: .82rem; line-height: 1.7; }
.team-photo-placeholder code  { display: inline-block; background: var(--white); border: 1px solid var(--border); padding: .15rem .5rem; border-radius: 4px; font-size: .8rem; color: var(--primary); margin-top: .25rem; }
.team-photo-badge {
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    white-space: nowrap;
    padding: .55rem 1.25rem;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    box-shadow: 0 4px 16px rgba(37,99,235,.35);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.team-photo-badge i { color: #fca5a5; }
.team-content { padding-bottom: 1.5rem; }
.team-content .section-badge { margin-bottom: 1rem; }
.team-title {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.team-intro {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.team-quote {
    position: relative;
    background: var(--white);
    border-left: 4px solid var(--secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem 1.25rem 1.75rem;
    margin: 0 0 2rem;
    box-shadow: var(--shadow);
}
.team-quote > i {
    position: absolute;
    top: -10px; left: 1.25rem;
    color: var(--secondary);
    font-size: 1.5rem;
    opacity: .7;
}
.team-quote p {
    font-style: italic;
    color: var(--text);
    font-size: .98rem;
    line-height: 1.8;
    margin: 0;
}
.team-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.team-member {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.team-member:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.team-member-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.team-member-icon--blue   { background: rgba(37,99,235,.12);  color: var(--primary); }
.team-member-icon--orange { background: rgba(245,158,11,.12); color: var(--secondary-dark); }
.team-member > div > strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: .25rem;
}
.team-member > div > p {
    font-size: .88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===== FOOTER BLOG LINK ===== */
.footer-links-separator {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: .5rem 0;
    pointer-events: none;
}
.footer-blog-icon { color: var(--secondary) !important; }

/* Nav blog link */
.nav-link--blog { color: var(--secondary) !important; }
#navbar.scrolled .nav-link--blog { color: var(--secondary-dark) !important; }

/* ===== FOOTER ===== */
#footer { background: var(--bg-dark); color: rgba(255,255,255,.8); }
.footer-main { padding: 4rem 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-logo {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: .75rem;
    display: flex;
    gap: .15em;
}
.footer-logo .logo-spc { color: var(--primary-light); }
.footer-logo .logo-renovation { color: var(--white); }
.footer-tagline {
    font-family: var(--font-head);
    font-size: .85rem;
    color: var(--secondary);
    letter-spacing: .04em;
    margin-bottom: .75rem;
}
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-col h4 {
    font-family: var(--font-head);
    font-size: .95rem;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color .2s;
}
.footer-links a i { font-size: .65rem; color: var(--secondary); }
.footer-links a:hover { color: var(--white); }
.footer-hours { display: flex; flex-direction: column; gap: .5rem; }
.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    padding-bottom: .4rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-hours li span:first-child { font-weight: 500; }
.closed { color: rgba(255,255,255,.35) !important; font-style: italic; }
.footer-urgence {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.3);
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: #fca5a5;
    font-family: var(--font-head);
    font-weight: 600;
}
.footer-urgence i { color: var(--red); }
.footer-contact-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.25rem; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
}
.footer-contact-list i {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .15rem;
}
.footer-contact-list a {
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
}
.footer-contact-list a:hover { color: var(--secondary); }
.footer-contact-list span { color: rgba(255,255,255,.65); line-height: 1.6; }
.footer-social { display: flex; gap: .6rem; margin-top: .5rem; }
.footer-devis-btn { align-self: flex-start; }
.footer-bottom {
    background: rgba(0,0,0,.3);
    padding: 1.25rem 0;
    text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom p + p { margin-top: .3rem; }
.footer-bottom a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 900;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease, background .2s;
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover { background: var(--primary-dark); }

/* ===== MOBILE PHONE BUTTON ===== */
.mobile-phone-btn {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: var(--secondary);
    color: var(--white);
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
    transition: background .2s;
}
.mobile-phone-btn:hover { background: var(--secondary-dark); }
.mobile-phone-btn i { font-size: 1.1rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
    .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-grid      { grid-template-columns: repeat(2, 1fr); }
    .zone-layout   { grid-template-columns: 1fr; gap: 2rem; }
    .contact-layout{ grid-template-columns: 1fr; gap: 2.5rem; }
    .team-layout   { grid-template-columns: 1fr; gap: 3rem; }
    .team-photo-frame { aspect-ratio: 4/5; max-width: 100%; margin: 0 auto; }
    .team-photo-badge { bottom: -1rem; }
    .team-content { padding-top: 1rem; }
}
@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .section { padding: 3.5rem 0; }
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 1.5rem;
        gap: .25rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform .35s ease, opacity .35s ease;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link { color: var(--dark); padding: .65rem 1rem; border-radius: var(--radius-sm); }
    .nav-link:hover { background: var(--bg-gray); color: var(--primary); }
    .nav-phone { background: var(--primary); text-align: center; justify-content: center; padding: .75rem; }
    #navbar.scrolled .nav-links { top: var(--nav-h); }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .stat-divider { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid  { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .why-grid      { grid-template-columns: 1fr 1fr; }
    .form-row      { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-wrap { padding: 1.5rem; }
    .mobile-phone-btn { display: flex; }
    .back-to-top { bottom: 5rem; right: 1rem; }
    section#contact { padding-bottom: 5rem; }
    footer { padding-bottom: 4rem; }
}
@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .why-grid     { grid-template-columns: 1fr; }
    .communes-grid { grid-template-columns: 1fr; }
    .lb-content   { max-width: calc(100vw - 20px); }
    .lb-prev      { left: .25rem; }
    .lb-next      { right: .25rem; }
}
