/* ===========================================
   Plomberie Baranès - V3 Corrigée
   Fond beige clair, badges mis en valeur
   =========================================== */

:root {
    /* Couleurs - Palette beige chaud (plus foncé) */
    --color-primary: #a65d45;
    /* Plus foncé pour contraste */
    --color-primary-dark: #8a4b36;
    --color-copper: #a05a20;
    /* Plus foncé */
    --color-copper-light: #d4a574;

    /* Fond beige chaud (plus soutenu) */
    --color-bg: #ebe4da;
    --color-bg-alt: #e0d6c8;
    --color-cream: #f5f0e8;
    --color-brown-warm: #8b6b5a;
    --color-brown-section: #cdb9a8;

    --color-charcoal: #2a2a2a;
    --color-text: #2c2c2c;
    /* Plus foncé */
    --color-text-light: #555555;
    /* Ratio > 4.5:1 sur blanc */
    --color-white: #ffffff;
    --color-gold: #b38f2d;
    /* Plus foncé */
    --color-urgent: #c62828;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 100px;

    --shadow-sm: 0 2px 10px rgba(139, 107, 90, 0.1);
    --shadow-md: 0 4px 20px rgba(139, 107, 90, 0.15);
    --shadow-lg: 0 8px 40px rgba(139, 107, 90, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================================
   HEADER
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 60px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.logo-tagline {
    font-size: 0.75rem;
    color: #8b6b5a;
    /* Vérifié */
    margin-top: 2px;
    font-weight: 500;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Bouton Urgence */
.emergency-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-urgent);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s;
}

.emergency-btn:hover {
    transform: scale(1.03);
}

.emergency-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
}

/* ===========================================
   HERO
   =========================================== */
.hero {
    padding: 140px 0 80px;
    background: var(--color-bg);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-charcoal);
    margin-bottom: 48px !important;
    min-height: auto;
}

.hero-title .title-line {
    display: block !important;
    margin-bottom: 16px !important;
}

.hero-title .highlight {
    color: var(--color-primary);
    display: block !important;
    margin-bottom: 8px !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    /* Utilisera le nouveau gris plus foncé */
    margin-bottom: 32px;
    line-height: 1.7;
    margin-top: 70px !important;
    clear: both;
    display: block !important;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-full {
    width: 100%;
}

/* ===========================================
   BADGES AMÉLIORÉS - Plus mis en valeur
   =========================================== */
.trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.badge-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 12px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.badge-circle:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.badge-icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-copper) 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(196, 120, 94, 0.4);
}

.badge-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.badge-circle span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.3;
}

/* ===========================================
   CADRE PHOTO SIMPLE
   =========================================== */
.hero-image {
    position: relative;
}

.simple-frame {
    position: relative;
    padding: 12px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-copper-light);
}

.hero-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.frame-label {
    text-align: center;
    padding-top: 12px;
    font-size: 0.9rem;
    color: var(--color-brown-warm);
    font-weight: 500;
}

/* ===========================================
   HERO CAROUSEL
   =========================================== */
.hero-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-copper-light);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 280px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--color-white);
}

/* Flèches de navigation - masquées */
.carousel-arrow {
    display: none;
}

.carousel-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-charcoal);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

/* Points indicateurs */
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    border-color: var(--color-white);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===========================================
   HERO CAROUSEL COMPACT - Sous les boutons
   =========================================== */
.hero-carousel-compact {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-copper-light);
    margin-bottom: 24px;
    max-width: 100%;
}

.hero-carousel-compact .carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 572;
}

.hero-carousel-compact .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-carousel-compact .carousel-slide.active {
    opacity: 1;
}

.hero-carousel-compact .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel-compact .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* ===========================================
   HERO PORTRAIT - Photo de M. Baranès
   =========================================== */
.hero-portrait {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-portrait img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-portrait img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
}

.portrait-label {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-brown-warm);
    font-weight: 600;
    font-style: italic;
    max-width: 350px;
}

/* ===========================================
   REVIEWS
   =========================================== */
.reviews {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.reviews-subtitle {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.google-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-text-light);
}

.stars {
    color: var(--color-gold);
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    align-items: stretch;
}

.review-card {
    background: var(--color-white);
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, z-index 0s;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.review-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    font-size: 0.85rem;
    color: var(--color-brown-warm);
}

.review-author strong {
    color: var(--color-charcoal);
}

.reviews-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 0;
    padding-top: 20px;
}

/* ===========================================
   SERVICES SECTION
   =========================================== */
.services {
    padding: 60px 0;
    background: var(--color-cream);
}

.services .section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-charcoal);
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-copper) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-copper) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(196, 120, 94, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(196, 120, 94, 0.4);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================================
   RÉALISATIONS - Fond marron chaud
   =========================================== */
.realisations {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-brown-section) 0%, #c9b5a5 100%);
}

.realisations .section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-charcoal);
    text-align: center;
    margin-bottom: 50px;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(transparent, rgba(42, 42, 42, 0.9));
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===========================================
   REALISATIONS GRID
   =========================================== */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.realisation-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--color-white);
}

.realisation-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.realisation-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.realisation-caption {
    padding: 16px;
    background: var(--color-white);
    color: var(--color-charcoal);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

/* Responsive adjust */
@media (max-width: 1024px) {
    .realisations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .realisations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .realisation-item img {
        height: 200px;
    }
}

/* ===========================================
   RÉALISATIONS CAROUSEL - Design élégant
   =========================================== */
.realisations-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.realisations-slides {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 572;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realisation-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realisation-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.realisation-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.realisation-slide:hover img {
    transform: scale(1.02);
}

/* Légende au survol - Design élégant */
.realisation-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6) 60%, transparent);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.realisation-slide:hover .realisation-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Points indicateurs - Style élégant */
.realisations-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.realisation-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.realisation-dot.active {
    background: var(--color-primary);
    border-color: var(--color-white);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(196, 120, 94, 0.5);
}

.realisation-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

/* Responsive pour le carousel */
@media (max-width: 768px) {
    .realisations-slides {
        height: 350px;
    }

    .realisation-caption {
        font-size: 0.95rem;
        padding: 16px;
    }

    .realisations-dots {
        bottom: -40px;
    }
}


/* ===========================================
   CONTACT
   =========================================== */
.contact {
    padding: 80px 0;
    background: var(--color-charcoal);
    color: white;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-intro {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-copper-light);
    margin-bottom: 4px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

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

.emergency-contact {
    background: rgba(198, 40, 40, 0.2);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-urgent);
}

.emergency-contact a {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Formulaire */
.contact-form-wrapper {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    color: var(--color-text);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-bg-alt);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--color-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: white;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact .urgent a {
    color: var(--color-primary);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }

    .hero-subtitle {
        margin: 0 auto 28px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-150%);
        transition: transform 0.3s;
        box-shadow: var(--shadow-md);
    }

    .nav.nav-open {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .emergency-btn span:not(.emergency-dot) {
        display: none;
    }

    .emergency-btn::after {
        content: '📞';
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 12px;
    }

    .badge-circle {
        flex: 1;
        min-width: 100px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Hide custom cursor on mobile/tablet */
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
}

/* ===========================================
   V2 - GSAP ANIMATIONS STYLES
   =========================================== */

/* Hero title words for split animation */
.hero-title .word {
    display: inline-block;
    transform-style: preserve-3d;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

/* Emergency Button Glow */
.emergency-btn {
    position: relative;
    overflow: visible;
}

.emergency-glow {
    position: absolute;
    inset: 0;
    background: var(--color-urgent);
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0.6;
}

/* Enhanced Button Hover Glow */
.btn-primary {
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(196, 120, 94, 0.3);
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(196, 120, 94, 0.5);
}

.btn-secondary {
    position: relative;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(196, 120, 94, 0.3);
}

/* Card 3D Transform Support */
.review-card,
.badge-circle {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Gallery item enhanced */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    will-change: transform;
}

/* Smooth Navigation Links */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(0);
}

/* Header transition support */
.header {
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    will-change: padding, box-shadow;
}

.logo-icon {
    transition: transform 0.3s ease;
}

/* Form input focus animation */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(196, 120, 94, 0.15);
    transform: translateY(-2px);
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* Loading state - hidden initially, shown by GSAP */
.hero-content>* {
    will-change: opacity, transform;
}

.hero-image {
    will-change: opacity, transform;
    transform-style: preserve-3d;
}

/* Section reveal animation support */
.reviews,
.realisations,
.contact {
    will-change: opacity;
}

/* Stars shimmer effect */
.stars {
    background: linear-gradient(90deg, var(--color-gold) 0%, #e8d170 50%, var(--color-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Quote icon subtle animation */
.quote-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.review-card:hover .quote-icon {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.3;
}

/* Frame label slide effect */
.frame-label {
    transition: transform 0.3s ease, color 0.3s ease;
}

.simple-frame:hover .frame-label {
    transform: translateY(-3px);
    color: var(--color-primary);
}

/* Contact item hover */
.contact-item {
    transition: transform 0.3s ease;
    border-radius: var(--radius-sm);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Footer links hover effect */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: left 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover::before {
    left: -12px;
    opacity: 1;
}

.footer-links a:hover {
    padding-left: 5px;
}

/* ===========================================
   VIDEO SHOWCASE SECTION
   =========================================== */
.video-showcase {
    padding: 80px 0;
    background: var(--color-bg-alt);
    text-align: center;
}

.video-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
    background: #000;
}

.video-wrapper video {
    width: 100%;
    display: block;
    max-height: 600px;
}

/* ===========================================
   STICKY MOBILE CALL BUTTON
   =========================================== */
.mobile-cta-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #c62828, #b71c1c);
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-cta-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.mobile-cta-sticky .pulse-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .mobile-cta-sticky {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }
}

/* ===========================================
   ZONES INTERVENTION SECTION
   =========================================== */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.zone-card {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.zone-card h4 {
    font-family: var(--font-heading);
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.zone-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}