/* =============================================
   EMBLÈME CONSTRUCTIONS — Landing Page AdWords
   Parallaxe, animations, conversion optimisée
   ============================================= */

:root {
    --bleu: #014898;
    --bleu-clair: #35AAE1;
    --bleu-fonce: #0d3f73;
    --or: #c9a96e;
    --blanc: #ffffff;
    --noir: #0a0a0a;
    --gris-50: #f8fafc;
    --gris-100: #f1f5f9;
    --gris-200: #e2e8f0;
    --gris-400: #94a3b8;
    --gris-600: #475569;
    --gris-800: #1e293b;
    --vert: #16a34a;
    --radius: 12px;
    --radius-lg: 20px;
    --ff-title: 'Playfair Display', Georgia, serif;
    --ff-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--ff-body);
    color: var(--gris-800);
    background: var(--blanc);
    overflow-x: hidden;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(1, 72, 152, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }

a.nav-google-rating {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: white !important;
    color: #1e293b !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}
a.nav-google-rating:hover { opacity: 0.9; }
.rating-star, .rating-google-logo { flex-shrink: 0; }

.logo-img {
    height: 64px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo-img { height: 48px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--blanc); }

.nav-phone {
    display: flex !important;
    align-items: center;
    gap: 6px;
    color: white !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.3s !important;
}
.nav-phone:hover { background: rgba(255,255,255,0.2) !important; }

.nav-cta {
    background: var(--or) !important;
    color: var(--noir) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
}

.nav-site-link {
    font-size: 13px !important;
    opacity: 0.7;
    transition: opacity 0.3s !important;
}

.nav-site-link:hover { opacity: 1; }

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--blanc);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 60px;
}

.hero-parallax-bg {
    position: absolute;
    inset: -80px;
    z-index: 0;
    will-change: transform;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 45, 94, 0.35) 0%,
        rgba(1, 72, 152, 0.18) 40%,
        rgba(53, 170, 225, 0.05) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

/* ===== HERO CENTERED ===== */

.hero-trust-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 6px 18px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease 0.2s both;
}
.trust-stars { color: #f59e0b; font-size: 14px; }
.trust-text { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500; }

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 14px 24px;
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin: 24px 0;
    transition: all 0.3s;
    text-decoration: none;
}
.hero-phone:hover { background: rgba(255,255,255,0.25); border-color: white; }
.phone-sub { display: block; font-size: 12px; font-weight: 400; opacity: 0.8; margin-top: 2px; }

/* Bande formulaire en pied de hero */
.hero-form-inline {
    background: var(--bleu-fonce);
    padding: 20px 40px;
}

.hero-form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-form-row input, .hero-form-row select {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    color: #1e293b;
    background: white;
}
.hero-form-row input::placeholder { color: #94a3b8; }
.hero-form-row select { color: #64748b; }

.hero-form-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    background: var(--or);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.hero-form-btn:hover { opacity: 0.85; }

.hero-form-legal { text-align: center; font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 8px; }

.hero-form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}
.hero-form-success span { color: #a7f3d0; font-weight: 600; font-size: 16px; }

/* Rappel express */
.hero-callback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    animation: fadeInUp 1s ease 0.7s both;
}
.hero-callback span { color: rgba(255,255,255,0.7); font-size: 13px; }
.callback-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--or);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.callback-btn:hover { opacity: 0.9; }

@media (max-width: 900px) {
    .hero-form-inline { padding: 16px 20px; }
    .hero-form-row {
        flex-direction: column;
        gap: 10px;
    }
    .hero-form-row input, .hero-form-row select { width: 100%; }
    .hero-form-btn { width: 100%; padding: 14px; }
    .hero-phone { font-size: 18px; padding: 12px 20px; }
    .hero-content h1 { font-size: clamp(30px, 6vw, 48px); }
    .hero-certifs { justify-content: center; }
    .hero-trust-bar { font-size: 12px; }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--blanc);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero h1 {
    font-family: var(--ff-title);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    color: var(--blanc);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-accent {
    color: var(--or);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--or);
    color: var(--noir);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.5);
}

.btn-hero svg { transition: transform 0.3s; }
.btn-hero:hover svg { transform: translateX(4px); }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--blanc);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--blanc);
}

.hero-certifs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 48px;
    animation: fadeInUp 1s ease 1s both;
}

.certif-img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.certif-img:hover { opacity: 1; }

.certif-text {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
    transition: opacity 0.3s;
}

.certif-text:hover { color: var(--blanc); }

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--bleu);
    padding: 48px 0;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-prefix {
    font-family: var(--ff-title);
    font-size: 48px;
    font-weight: 700;
    color: var(--or);
    line-height: 1;
}

.stat-number {
    display: inline;
    font-family: var(--ff-title);
    font-size: 48px;
    font-weight: 700;
    color: var(--or);
    line-height: 1;
}

.stat-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--ff-title);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.accent { color: var(--bleu); }
.accent-light { color: var(--or); }

.section-header p {
    font-size: 16px;
    color: var(--gris-600);
    line-height: 1.7;
}

.section-header.light h2 { color: var(--blanc); }
.section-header.light p { color: rgba(255,255,255,0.75); }
.section-header.light .section-tag { color: var(--or); }

/* ===== RÉALISATIONS COVERFLOW ===== */
.realisations {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 100%);
    overflow: hidden;
}

.realisations .section-header h2 { color: var(--gris-800); }
.realisations .section-header p { color: var(--gris-600); }

.coverflow-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1200px;
    padding: 0 50px;
}

.coverflow-stage {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverflow-slide {
    position: absolute;
    width: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--blanc);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.coverflow-slide .real-img-wrap {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.coverflow-slide .real-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.coverflow-slide .real-caption {
    padding: 14px 18px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.coverflow-slide.active .real-caption {
    opacity: 1;
}

.real-caption strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gris-800);
    margin-bottom: 4px;
}

.real-caption span {
    font-size: 13px;
    color: var(--gris-400);
    line-height: 1.4;
}

/* Arrows */
.real-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gris-200);
    background: rgba(255,255,255,0.9);
    color: var(--gris-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.real-arrow:hover {
    background: var(--bleu);
    border-color: var(--bleu);
    color: var(--blanc);
}

.real-arrow-left { left: 0; }
.real-arrow-right { right: 0; }

/* Dots */
.real-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.real-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gris-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.real-dot.active {
    background: var(--bleu);
    transform: scale(1.2);
}

/* Button */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--bleu);
    color: var(--bleu);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bleu);
    color: var(--blanc);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--bleu);
    color: var(--bleu);
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background: var(--bleu);
    color: var(--blanc);
}

/* ===== GAMMES ===== */
.gammes {
    padding: 100px 40px;
    background: var(--bleu-fonce);
}

.gammes-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gamme-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gamme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: var(--or);
}

.gamme-card.featured {
    border-color: var(--or);
    transform: scale(1.03);
}

.gamme-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.gamme-img-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
    will-change: transform;
}

.gamme-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.gamme-card:hover .gamme-img-wrap img { transform: scale(1.1); }

.gamme-img-overlay {
    display: none;
}

.gamme-content {
    padding: 28px;
    color: var(--blanc);
}

.gamme-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--or);
    color: var(--noir);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.gamme-content h3 {
    font-family: var(--ff-title);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.gamme-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 16px;
}

.gamme-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--or);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s;
}

.gamme-link:hover { gap: 12px; }

/* ===== POURQUOI NOUS ===== */
.pourquoi {
    position: relative;
    padding: 120px 40px;
    overflow: hidden;
}

.pourquoi-bg {
    position: absolute;
    inset: -60px;
    z-index: 0;
    will-change: transform;
}

.pourquoi-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pourquoi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 45, 94, 0.65);
}

.pourquoi-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.avantage {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    transition: all 0.4s;
    color: var(--blanc);
}

.avantage:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--or);
    transform: translateY(-6px);
}

.avantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: rgba(201, 169, 110, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--or);
}

.avantage h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.avantage p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* ===== AVIS GOOGLE CAROUSEL ===== */
.avis {
    position: relative;
    padding: 100px 40px;
    overflow: hidden;
    background: var(--gris-50);
}

.avis-parallax-bg {
    position: absolute;
    inset: -60px;
    z-index: 0;
    will-change: transform;
}

.avis-parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avis-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.86));
}

.avis .section-header,
.avis .avis-carousel,
.avis .avis-dots,
.avis .btn-google-reviews {
    position: relative;
    z-index: 2;
}

/* Badge Google rating */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    background: var(--blanc);
    border: 1px solid var(--gris-200);
    border-radius: 60px;
    padding: 10px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.google-rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-rating-score {
    font-family: var(--ff-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--gris-800);
}

.google-rating-max {
    font-size: 14px;
    font-weight: 400;
    color: var(--gris-400);
}

.google-rating-stars {
    color: #f4b400;
    font-size: 18px;
    letter-spacing: 2px;
}

.google-rating-count {
    font-size: 13px;
    color: var(--gris-400);
    font-weight: 500;
}

/* Carousel container */
.avis-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
}

.avis-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.avis-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Carousel arrows */
.avis-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gris-200);
    background: var(--blanc);
    color: var(--gris-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.avis-arrow:hover {
    background: var(--bleu);
    border-color: var(--bleu);
    color: var(--blanc);
}

.avis-arrow-left { left: 0; }
.avis-arrow-right { right: 0; }

/* Dots */
.avis-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.avis-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gris-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.avis-dot.active {
    background: var(--bleu);
    transform: scale(1.2);
}

/* Cards */
.avis-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    flex: 0 0 calc(33.333% - 16px);
    margin: 0 8px;
    transition: all 0.4s;
    box-sizing: border-box;
}

.avis-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .avis-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.95); }
}

.avis-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.avis-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bleu), var(--bleu-clair));
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.avis-meta {
    flex: 1;
    min-width: 0;
}

.avis-meta strong {
    display: block;
    font-size: 13px;
    color: var(--gris-800);
}

.avis-date {
    font-size: 11px;
    color: var(--gris-400);
}

.avis-google-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.avis-stars {
    color: #f4b400;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.avis-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gris-600);
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Google reviews button */
.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--blanc);
    border: 2px solid var(--gris-200);
    border-radius: 60px;
    color: var(--gris-800);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-google-reviews:hover {
    border-color: #4285F4;
    box-shadow: 0 4px 16px rgba(66,133,244,0.15);
    transform: translateY(-2px);
}

/* ===== CONTACT ===== */
.contact {
    position: relative;
    padding: 120px 40px;
    overflow: hidden;
}

.contact-parallax-bg {
    position: absolute;
    inset: -60px;
    z-index: 0;
    will-change: transform;
}

.contact-parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,45,94,0.6), rgba(1,72,152,0.5));
}

.contact-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    color: var(--blanc);
}

.contact-text h2 {
    font-family: var(--ff-title);
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.contact-text > p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-infos {
    margin-bottom: 28px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.contact-info-item a {
    transition: color 0.3s;
}

.contact-info-item a:hover { color: var(--or); }

.contact-info-item svg { flex-shrink: 0; color: var(--or); }

.contact-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.contact-socials a:hover {
    background: var(--or);
    border-color: var(--or);
    color: var(--noir);
}

/* ===== FORMULAIRE FLOTTANT ===== */
.floating-form {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    width: 300px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-form-toggle {
    position: absolute;
    top: -44px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--or);
    color: var(--noir);
    border: none;
    border-radius: 12px 12px 0 0;
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.floating-form-toggle:hover { background: #b8943f; }

.floating-form-toggle .toggle-close {
    display: none;
    font-size: 20px;
    line-height: 1;
}

.floating-form-toggle .toggle-arrow { display: none; }

.floating-form.collapsed .toggle-text { display: none; }
.floating-form.collapsed .toggle-close { display: inline; }
.floating-form.collapsed .floating-form-body {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    max-height: 0;
    padding: 0;
    overflow: hidden;
}

.floating-form-body {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 700px;
    overflow-y: auto;
}

.floating-form-body::-webkit-scrollbar { width: 4px; }
.floating-form-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

/* ===== FORMULAIRE ===== */
.contact-form {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.contact-form h3 {
    font-family: var(--ff-title);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gris-800);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-group {
    margin-bottom: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-family: var(--ff-body);
    font-size: 13px;
    color: var(--gris-800);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    background: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--bleu);
    box-shadow: 0 0 0 4px rgba(1, 72, 152, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gris-400);
}

.contact-form select { cursor: pointer; }

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--or);
    color: var(--noir);
    border: none;
    border-radius: 8px;
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-submit:hover {
    background: #b8943f;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201, 169, 110, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-legal {
    font-size: 11px;
    color: var(--gris-400);
    margin-top: 12px;
    text-align: center;
    line-height: 1.5;
}

/* Form success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.form-success h3 {
    font-family: var(--ff-title);
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--vert);
}

.form-success p {
    font-size: 14px;
    color: var(--gris-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--noir);
    color: rgba(255,255,255,0.7);
    padding: 60px 40px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--blanc);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--or); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--or); }

/* Form success in floating */
.floating-form .form-success {
    text-align: center;
    padding: 20px 0;
}

.floating-form .form-success h3 {
    font-size: 18px;
    color: var(--vert);
}

.floating-form .form-success p {
    font-size: 13px;
    margin-bottom: 16px;
}

/* Hide floating form when not scrolled past hero */
.floating-form.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(20px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .floating-form { width: 280px; right: 16px; }
    .avantages-grid { grid-template-columns: repeat(2, 1fr); }
    .gammes-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .gamme-card.featured { transform: none; }
    .gamme-card.featured:hover { transform: translateY(-8px); }
    .gallery-row { grid-template-columns: 1fr 1fr; }
    .gallery-row .gallery-item:last-child { display: none; }
    .contact-inner { grid-template-columns: 1fr; max-width: 560px; }
    .contact-text { text-align: center; }
    .contact-infos { display: flex; flex-direction: column; align-items: center; }
    .contact-socials { justify-content: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bleu-fonce);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-links.open { right: 0; }

    .nav-burger { display: flex; }

    .nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero h1 { font-size: 36px; }

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 36px; }

    .realisations, .avis { padding: 60px 20px; }
    .avis-carousel { padding: 0 40px; }
    .avis-card { flex: 0 0 calc(50% - 16px); }
    .coverflow-container { padding: 0 40px; }
    .coverflow-slide { width: 300px; }
    .coverflow-slide .real-img-wrap { height: 200px; }
    .coverflow-stage { height: 340px; }
    .google-rating-badge { padding: 8px 16px; }
    .google-rating-info { gap: 6px; flex-wrap: wrap; }
    .google-rating-score { font-size: 18px; }

    .gallery-row { grid-template-columns: 1fr; }
    .gallery-row .gallery-item:last-child { display: block; }

    .avis-arrow { display: none; }
    .avis-carousel { padding: 0; }
    .avis-card { flex: 0 0 calc(100% - 16px); }
    .coverflow-container { padding: 0; }
    .coverflow-slide { width: 260px; }
    .coverflow-slide .real-img-wrap { height: 180px; }
    .coverflow-stage { height: 300px; }
    .real-arrow { width: 38px; height: 38px; }

    .avantages-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .contact { padding: 60px 20px; }
    .contact-inner { gap: 32px; }

    /* ===== Tiroir latéral droit sur mobile ===== */
    .floating-form {
        position: fixed;
        top: 50%;
        right: 0;
        left: auto;
        bottom: auto;
        width: 80vw;
        max-width: 360px;
        transform: translateY(-50%) translateX(100%);
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 900;
    }

    .floating-form:not(.collapsed) {
        transform: translateY(-50%) translateX(0);
    }

    /* Neutralise le hide-au-scroll sur mobile : l'onglet reste toujours visible */
    .floating-form.hidden {
        transform: translateY(-50%) translateX(100%);
        opacity: 1;
        pointer-events: auto;
    }
    .floating-form:not(.collapsed).hidden {
        transform: translateY(-50%) translateX(0);
    }

    /* Onglet vertical "Se faire rappeler" collé au bord droit (sort à gauche du panneau) */
    .floating-form-toggle {
        position: absolute;
        top: 50%;
        left: 0;
        right: auto;
        transform: translate(-100%, -50%);
        width: 44px;
        height: 200px;
        padding: 12px 0;
        gap: 10px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--bleu-fonce);
        border: 2px solid var(--bleu-fonce);
        border-right: none;
        border-radius: 12px 0 0 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: -4px 4px 16px rgba(0,0,0,0.15);
        pointer-events: auto;
    }
    .floating-form-toggle:hover { background: rgba(255, 255, 255, 1); }

    .floating-form .floating-form-toggle .toggle-icon-mail,
    .floating-form .floating-form-toggle .toggle-text,
    .floating-form .floating-form-toggle .toggle-close,
    .floating-form.collapsed .floating-form-toggle .toggle-icon-mail,
    .floating-form.collapsed .floating-form-toggle .toggle-text,
    .floating-form.collapsed .floating-form-toggle .toggle-close { display: none; }

    .floating-form .floating-form-toggle .toggle-arrow {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        height: 100%;
        color: var(--or);
    }
    .toggle-chevron {
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        flex-shrink: 0;
    }
    .floating-form:not(.collapsed) .toggle-chevron {
        transform: rotate(180deg);
    }
    .toggle-arrow-text {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-family: var(--ff-body);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--bleu-fonce);
        white-space: nowrap;
    }

    /* Corps du formulaire en tiroir : visible même en collapsed (c'est le panneau entier qui glisse) */
    .floating-form-body {
        border-radius: 16px 0 0 16px;
        max-height: 80vh;
        padding: 22px 18px;
    }
    .floating-form.collapsed .floating-form-body {
        opacity: 1;
        max-height: 80vh;
        padding: 22px 18px;
        transform: none;
        pointer-events: auto;
        overflow-y: auto;
    }

    .form-row { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .hero-certifs { gap: 16px; }
    .certif-img { height: 30px; }
}
