/* ===================================
   Good Diag Immo - Style GARONNE
   Bleu-gris Garonne + Or Miroir d'Eau
   Variables Prompt 2
   =================================== */

:root {
    /* Couleurs Garonne */
    --primary: #1E4D5C;
    --primary-light: #3A7D8C;
    --primary-dark: #0D2B33;
    --accent-orange: #E8C87A;
    --accent-orange-light: #F0D89A;
    --cta-green: #1E4D5C;
    
    /* Fonds */
    --bg-light: #F7F5F0;
    --bg-cream: #F3F1EC;
    --bg-warm: #EBE8E0;
    --bg-card: #FFFFFF;
    
    /* Texte (couleurs) */
    --text-dark: #0D2B33;
    --text-body: #2A3F47;
    --text-muted: #4A6670;
    --text-subtle: #6A8890;
    --text-light: #E0F0F5;
    
    /* Bordures */
    --border-light: rgba(30, 77, 92, 0.1);
    --border-gold: rgba(232, 200, 122, 0.3);
    
    /* Typography - Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Typography - Sizes (Prompt 2) */
    --text-2xs: 10px;      /* badges, tags */
    --text-xs: 11px;       /* labels, petits textes (unifié 11-12px) */
    --text-sm: 13px;       /* texte secondaire (unifié 13-14px) */
    --text-base: 15px;     /* texte body (unifié 15-16px) */
    --text-md: 17px;       /* sous-titres (unifié 17-19px) */
    --text-lg: 20px;       /* titres cards (unifié 20-22px) */
    --text-xl: 24px;       /* titres sections (unifié 24-26px) */
    --text-2xl: 28px;      /* grands titres (unifié 28-32px) */
    --text-3xl: 34px;      /* hero subtitle desktop */
    --text-4xl: 42px;      /* hero titre */
    
    /* Spacing (Prompt 2) */
    --space-2xs: 4px;      /* micro spacing */
    --space-xs: 6px;       /* petit spacing (unifié 5-7px) */
    --space-sm: 8px;       /* spacing small (unifié 8-10px) */
    --space-md: 12px;      /* spacing medium (unifié 11-14px) */
    --space-lg: 16px;      /* spacing large (unifié 15-18px) */
    --space-xl: 24px;      /* spacing xl (unifié 20-26px) */
    --space-2xl: 32px;     /* spacing 2xl (unifié 28-35px) */
    --space-3xl: 45px;     /* sections */
    --space-4xl: 55px;     /* grandes sections */
    
    /* Layout */
    --section-padding: var(--space-4xl);
    --container-width: 1180px;
    
    /* Effects */
    --shadow-soft: 0 4px 20px rgba(30, 77, 92, 0.08);
    --shadow-gold: 0 4px 20px rgba(232, 200, 122, 0.2);
    --shadow-lg: 0 12px 40px rgba(30, 77, 92, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--text-body); background: var(--bg-light); }
[id] { scroll-margin-top: 90px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; color: var(--text-dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 var(--space-xl); }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(13, 43, 51, 0.97); backdrop-filter: blur(20px); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-content { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; gap: var(--space-2xl); }
.nav-link { font-weight: 500; color: var(--text-light); padding: var(--space-xs) 0; position: relative; font-size: var(--text-sm); letter-spacing: 0.3px; opacity: 0.85; }
.nav-link:hover, .nav-link.active { color: var(--accent-orange); opacity: 1; }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent-orange); border-radius: 2px; }
.header-phone { display: flex; align-items: center; gap: var(--space-sm); font-weight: 600; color: var(--primary-dark); background: var(--accent-orange); padding: var(--space-sm) var(--space-xl); border-radius: var(--space-sm); font-size: var(--text-sm); }
.header-phone:hover { background: var(--accent-orange-light); transform: translateY(-1px); }
.mobile-menu-btn { display: none; flex-direction: column; gap: var(--space-2xs); background: none; border: none; cursor: pointer; padding: var(--space-sm); }
.mobile-menu-btn span { width: 22px; height: 2px; background: white; border-radius: 2px; }

/* HERO */
.hero { padding: 105px 0 50px; position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13, 43, 51, 0.92) 0%, rgba(30, 77, 92, 0.88) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat; }
.hero::before { content: ''; position: absolute; top: -80px; right: -120px; width: 450px; height: 450px; background: radial-gradient(circle, rgba(232, 200, 122, 0.12) 0%, transparent 70%); border-radius: 50%; z-index: 1; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(58, 125, 140, 0.15) 0%, transparent 70%); border-radius: 50%; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 420px; gap: var(--space-3xl); align-items: center; position: relative; z-index: 2; }
.hero-text { max-width: 520px; color: var(--bg-light); }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); background: var(--accent-orange); color: var(--primary-dark); font-size: var(--text-xs); font-weight: 700; padding: var(--space-xs) var(--space-md); border-radius: var(--space-xs); margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: var(--text-4xl); font-weight: 700; margin-bottom: var(--space-md); color: white; line-height: 1.15; letter-spacing: -0.02em; }
.hero h1 .highlight { color: var(--accent-orange); }
.hero-subtitle { font-size: var(--text-base); color: var(--text-light); margin-bottom: var(--space-xl); line-height: 1.7; opacity: 0.9; }
.hero-services { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.hero-tag { display: inline-block; padding: var(--space-xs) var(--space-md); background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); border-radius: var(--space-xs); font-size: var(--text-sm); font-weight: 600; color: white; transition: var(--transition); backdrop-filter: blur(5px); }
.hero-tag:hover { border-color: var(--accent-orange); color: var(--accent-orange); background: rgba(232, 200, 122, 0.1); }
.hero-stats { display: flex; gap: var(--space-2xl); padding-top: var(--space-xl); border-top: 2px solid rgba(232, 200, 122, 0.3); justify-content: space-between; margin-bottom: var(--space-sm); }
.stat { text-align: center; min-width: 80px; }
.stat-number { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; color: var(--accent-orange); display: block; line-height: 1.2; }
.stat-label { font-size: var(--text-xs); color: var(--text-light); margin-top: var(--space-2xs); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; justify-content: center; opacity: 0.8; }
.hero-review { margin-top: var(--space-xl); padding: var(--space-lg) var(--space-lg); background: rgba(255,255,255,0.08); border-left: 3px solid var(--accent-orange); border-radius: 0 var(--radius) var(--radius) 0; backdrop-filter: blur(10px); }
.hero-review:first-of-type { margin-top: var(--space-xl); }
.hero-review-stars { color: var(--accent-orange); font-size: var(--text-sm); margin-bottom: var(--space-xs); letter-spacing: 1px; }
.hero-review-text { font-size: var(--text-sm); color: white; font-style: italic; margin: 0 0 var(--space-xs); line-height: 1.5; opacity: 0.95; }
.hero-review-author { font-size: var(--text-xs); color: var(--text-light); font-weight: 600; margin: 0; opacity: 0.7; }
.hero-diags { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid rgba(255,255,255,0.15); }
.hero-diags-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: flex-start; }
.hero-diag-item { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-md); background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15); border-radius: var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: white; transition: var(--transition); backdrop-filter: blur(5px); }
.hero-diag-item:hover { border-color: var(--accent-orange); color: var(--accent-orange); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232, 200, 122, 0.2); }

/* FORM */
.hero-form { background: var(--bg-card); border: none; border-radius: var(--radius-xl); padding: 0 var(--space-2xl) var(--space-2xl) var(--space-2xl); position: relative; overflow: hidden; }
.hero-form-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-orange) 100%); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.hero-form h2 { font-size: var(--text-md); margin-bottom: var(--space-xs); text-align: center; color: var(--text-dark); padding-top: var(--space-2xl); }
.hero-form > p { text-align: center; color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-lg); }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-size: var(--text-xs); font-weight: 600; color: var(--text-body); margin-bottom: var(--space-xs); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: var(--space-sm) var(--space-md); border: 2px solid var(--bg-warm); border-radius: var(--radius); font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-dark); background: var(--bg-cream); transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(30, 77, 92, 0.1); }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A6670' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-md) center; }
.form-group textarea { resize: vertical; min-height: 60px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

/* FORM ACCORDION (mobile only) */
.form-accordion { margin: var(--space-md) 0; }
.form-accordion-toggle {
    display: none;
    width: 100%;
    padding: var(--space-md) var(--space-md);
    background: var(--bg-warm);
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.form-accordion-toggle:hover { border-color: var(--primary-light); }
.accordion-icon { 
    transition: transform 0.3s ease; 
    font-size: var(--text-2xs);
}
.form-accordion.open .accordion-icon { transform: rotate(180deg); }
.form-accordion-content {
    max-height: none;
    overflow: visible;
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-md) var(--space-xl); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; border-radius: var(--radius); border: none; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 77, 92, 0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-light { background: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { background: white; color: var(--primary); }
.btn-full { width: 100%; }

/* SERVICES */
.services-quick { padding: var(--space-3xl) 0; background: var(--bg-cream); }
.services-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-sm); margin-bottom: var(--space-xl); }
.service-card { background: var(--bg-card); border: 2px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-sm); text-align: center; transition: var(--transition); cursor: pointer; }
.service-card:hover { border-color: var(--accent-orange); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.service-card:hover h3 { color: var(--primary); }
.service-card.featured { background: var(--primary); border-color: var(--primary); }
.service-card.featured h3 { color: white; }
.service-card.featured .service-icon { filter: grayscale(1) brightness(10); }
.service-icon { font-size: var(--text-xl); margin-bottom: var(--space-sm); display: block; }
.service-icon.icon-light { filter: grayscale(1) brightness(1.8) opacity(0.7); }
.service-card h3 { font-size: var(--text-xs); font-weight: 600; color: var(--text-body); text-transform: uppercase; letter-spacing: 0.3px; }
.icon-light { filter: grayscale(100%) brightness(1.8) opacity(0.7); }
.services-cta { text-align: center; }

/* PRICING */
.pricing { padding: var(--section-padding) 0; background: var(--bg-light); }
.section-title { font-size: var(--text-2xl); text-align: center; margin-bottom: var(--space-sm); color: var(--text-dark); }
.section-title .highlight { color: var(--accent-orange); }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: var(--space-2xl); font-size: var(--text-base); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.pricing-card { background: var(--bg-card); border: 2px solid var(--border-light); border-radius: var(--radius-xl); padding: var(--space-xl) var(--space-xl); text-align: center; position: relative; display: flex; flex-direction: column; height: 100%; }
.pricing-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent-orange); color: var(--primary-dark); font-size: var(--text-2xs); font-weight: 700; padding: var(--space-xs) var(--space-md); border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; }
.pricing-header h3 { font-size: var(--text-md); margin-bottom: var(--space-2xs); color: var(--text-dark); }
.pricing-header p { font-size: var(--text-xs); color: var(--text-muted); }
.pricing-price { padding: var(--space-lg) 0; border-bottom: 2px solid var(--bg-warm); margin-bottom: var(--space-lg); }
.price-from { display: block; font-size: var(--text-xs); color: var(--text-subtle); margin-bottom: var(--space-2xs); text-transform: uppercase; }
.price-amount { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: 700; color: var(--primary); }
.pricing-features { text-align: center; margin-bottom: var(--space-lg); flex-grow: 1; }
.pricing-features li { padding: var(--space-xs) 0; font-size: var(--text-sm); color: var(--text-body); display: flex; align-items: center; justify-content: center; gap: var(--space-xs); }
.pricing-features li::before { content: '✓'; color: var(--primary-light); font-weight: bold; font-size: var(--text-xs); }
.pricing-card .btn { margin-top: auto; }

/* TEAM */
.team { padding: var(--section-padding) 0; background: var(--bg-cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); max-width: 900px; margin: 0 auto; }
.team-card { text-align: center; padding: var(--space-2xl) var(--space-xl); background: var(--bg-card); border: 2px solid var(--border-light); border-radius: var(--radius-xl); }
.team-avatar { width: 80px; height: 80px; background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-lg); box-shadow: 0 8px 25px rgba(30, 77, 92, 0.2); }
.team-avatar span { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; color: white; }
.team-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2xs); color: var(--text-dark); }
.team-role { font-size: var(--text-xs); color: var(--accent-orange); font-weight: 700; margin-bottom: var(--space-md); text-transform: uppercase; letter-spacing: 1.2px; }
.team-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* TESTIMONIALS */
.testimonials { padding: var(--section-padding) 0; background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.testimonial-card { background: var(--bg-card); border: 2px solid var(--border-light); border-left: 4px solid var(--accent-orange); border-radius: var(--radius-lg); padding: var(--space-xl); text-align: left; }
.testimonial-stars { color: var(--accent-orange); font-size: var(--text-sm); margin-bottom: var(--space-md); letter-spacing: 2px; }
.testimonial-text { font-size: var(--text-sm); color: var(--text-body); line-height: 1.7; margin-bottom: var(--space-md); font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--text-dark); font-size: var(--text-sm); }

/* CERTIFICATIONS */
.certifications { padding: var(--space-xl) 0; background: var(--bg-cream); }
.certifications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); max-width: 600px; margin: 0 auto; }
.certification-card { text-align: center; padding: var(--space-md) var(--space-md); background: var(--bg-card); border: 2px solid var(--border-light); border-radius: var(--radius-lg); }
.certification-card img { height: 32px; width: auto; margin-bottom: var(--space-sm); object-fit: contain; }
.certification-card p { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.4; }

/* PAGE HEADER */
.page-header { padding: 110px 0 var(--space-3xl); background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%); text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -50px; right: -50px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(232, 200, 122, 0.1) 0%, transparent 70%); border-radius: 50%; }
.page-header h1 { font-size: var(--text-3xl); color: white; margin-bottom: var(--space-sm); position: relative; z-index: 1; }
.page-header p { font-size: var(--text-base); color: var(--text-light); opacity: 0.85; position: relative; z-index: 1; }

/* DIAGNOSTICS */
.diagnostics-list { padding: var(--section-padding) 0; background: var(--bg-light); }
.diagnostic-item { display: grid; grid-template-columns: 70px 1fr; gap: var(--space-xl); padding: var(--space-2xl); margin-bottom: var(--space-md); background: var(--bg-card); border: 2px solid var(--border-light); border-left: 4px solid var(--accent-orange); border-radius: var(--radius-xl); transition: var(--transition); align-items: start; }
.diagnostic-item:hover { box-shadow: var(--shadow-soft); border-color: var(--primary-light); }
.diagnostic-icon { width: 70px; height: 70px; background: linear-gradient(145deg, var(--bg-cream) 0%, var(--bg-warm) 100%); border: 2px solid var(--border-light); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: var(--text-2xl); }
.diagnostic-content h2 { font-size: var(--text-lg); margin-bottom: var(--space-sm); color: var(--text-dark); }
.diagnostic-tags { display: flex; gap: var(--space-sm); margin-bottom: var(--space-md); }
.tag { font-size: var(--text-2xs); font-weight: 700; padding: var(--space-2xs) var(--space-sm); border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-vente { background: rgba(30, 77, 92, 0.1); color: var(--primary); }
.tag-location { background: rgba(232, 200, 122, 0.2); color: #9a7b2a; }
.diagnostic-content > p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-lg); }
.diagnostic-details { display: flex; gap: var(--space-2xl); }
.detail { display: flex; flex-direction: column; gap: var(--space-2xs); }
.detail strong { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-subtle); }
.detail span { font-size: var(--text-xs); color: var(--text-body); font-weight: 600; }

/* CTA */
.cta-section { padding: var(--section-padding) 0; background: var(--bg-light); }
.cta-box { background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%); border-radius: var(--radius-xl); padding: var(--space-3xl) var(--space-2xl); text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -30px; right: -30px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(232, 200, 122, 0.15) 0%, transparent 70%); border-radius: 50%; }
.cta-box h2 { font-size: var(--text-2xl); color: white; margin-bottom: var(--space-sm); position: relative; z-index: 1; }
.cta-box p { font-size: var(--text-base); color: var(--text-light); margin-bottom: var(--space-xl); opacity: 0.85; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: var(--space-md); justify-content: center; position: relative; z-index: 1; }
.cta-buttons .btn-primary { background: var(--accent-orange); color: var(--primary-dark); }
.cta-buttons .btn-primary:hover { background: var(--accent-orange-light); }

/* FOOTER */
.footer { background: var(--primary-dark); color: var(--text-light); padding: var(--space-3xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { margin-bottom: var(--space-md); filter: brightness(0) invert(1); height: 30px; }
.footer-col p { font-size: var(--text-xs); line-height: 1.7; margin-bottom: var(--space-sm); opacity: 0.8; }
.footer-rcs { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.4); }
.footer-col h4 { font-size: var(--text-sm); color: var(--accent-orange); margin-bottom: var(--space-lg); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: var(--space-sm); font-size: var(--text-xs); color: rgba(255, 255, 255, 0.65); }
.footer-col ul li a { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.65); }
.footer-col ul li a:hover { color: var(--accent-orange); }
.footer-social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.footer-social a { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
.footer-social a:hover { background: var(--accent-orange); color: var(--primary-dark); }
.footer-bottom { padding: var(--space-lg) 0; text-align: center; }
.footer-bottom p { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.4); }

/* RESPONSIVE */

/* Tablette */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-form { max-width: 440px; margin: var(--space-2xl) auto 0; }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --section-padding: var(--space-2xl); }
    
    /* Header */
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .header-phone { display: none; }
    
    /* Hero */
    .hero { padding: 80px 0 var(--space-xl); min-height: auto; }
    .hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
    .hero-badge { margin-bottom: var(--space-md); padding: var(--space-xs) var(--space-md); font-size: var(--text-2xs); }
    .hero-subtitle { font-size: var(--text-sm); margin-bottom: var(--space-md); }
    .hero-services { gap: var(--space-xs); margin-bottom: var(--space-md); }
    .hero-tag { padding: var(--space-xs) var(--space-sm); font-size: var(--text-xs); }
    .hero-stats { flex-wrap: wrap; gap: var(--space-lg); padding-top: var(--space-md); justify-content: center; }
    .stat-number { font-size: var(--text-lg); }
    .stat-label { font-size: var(--text-xs); }
    .hero-review { margin-top: var(--space-md); padding: var(--space-md) var(--space-md); }
    .hero-review-stars { font-size: var(--text-xs); }
    .hero-review-text { font-size: var(--text-sm); }
    .hero-review-author { font-size: var(--text-xs); }
    .hero-diags { justify-content: center; }
    .hero-diag-item { padding: var(--space-xs) var(--space-sm); font-size: var(--text-xs); }
    
    /* Form + Accordion */
    .hero-form { margin-top: var(--space-xl); padding: var(--space-lg) var(--space-lg); }
    .hero-form h2 { font-size: var(--text-md); margin-bottom: var(--space-2xs); padding-top: var(--space-lg); }
    .hero-form > p { font-size: var(--text-xs); margin-bottom: var(--space-md); }
    .form-group { margin-bottom: var(--space-sm); }
    .form-group label { font-size: var(--text-xs); }
    .form-group input, .form-group select, .form-group textarea { 
        padding: var(--space-sm) var(--space-md); 
        font-size: var(--text-sm); 
    }
    .form-row { grid-template-columns: 1fr; gap: var(--space-sm); }
    
    /* Accordion visible sur mobile */
    .form-accordion-toggle { display: flex; }
    .form-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .form-accordion.open .form-accordion-content {
        max-height: 600px;
    }
    
    /* Services */
    .services-quick { padding: var(--space-xl) 0; }
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-xs); margin-bottom: var(--space-lg); }
    .service-card { padding: var(--space-sm) var(--space-xs); }
    .service-icon { font-size: var(--text-lg); margin-bottom: var(--space-2xs); }
    .service-card h3 { font-size: var(--text-2xs); }
    
    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 100%; gap: var(--space-sm); }
    .pricing-card { padding: var(--space-lg) var(--space-md); }
    .pricing-header h3 { font-size: var(--text-sm); }
    .pricing-header p { font-size: var(--text-2xs); }
    .price-amount { font-size: var(--text-2xl); }
    .pricing-features li { font-size: var(--text-xs); padding: var(--space-xs) 0; }
    .pricing-card .btn { padding: var(--space-sm) var(--space-md); font-size: var(--text-xs); }
    
    /* Team */
    .team-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .team-card { padding: var(--space-xl) var(--space-lg); }
    
    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .testimonial-card { padding: var(--space-lg); }
    
    /* Certifications */
    .certifications { padding: var(--space-lg) 0; }
    .certifications-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; gap: var(--space-sm); }
    .certification-card { padding: var(--space-md) var(--space-sm); }
    .certification-card img { height: 24px; margin-bottom: var(--space-2xs); }
    .certification-card p { font-size: var(--text-2xs); }
    
    /* Diagnostics */
    .diagnostic-item { grid-template-columns: 1fr; gap: var(--space-md); padding: var(--space-lg); }
    .diagnostic-icon { width: 50px; height: 50px; font-size: var(--text-xl); }
    .diagnostic-details { flex-direction: column; gap: var(--space-sm); }
    
    /* CTA */
    .cta-box { padding: var(--space-2xl) var(--space-lg); }
    .cta-box h2 { font-size: var(--text-lg); }
    .cta-buttons { flex-direction: column; gap: var(--space-sm); }
    
    /* Footer */
    .footer { padding: var(--space-xl) 0 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-xl); }
    .footer-social { justify-content: center; }
    .footer-col h4 { margin-bottom: var(--space-sm); }
    
    /* Sections */
    .section-title { font-size: var(--text-lg); margin-bottom: var(--space-sm); }
    .section-subtitle { font-size: var(--text-sm); margin-bottom: var(--space-lg); }
    .page-header { padding: 90px 0 var(--space-2xl); }
    .page-header h1 { font-size: var(--text-xl); }
}

/* Petit mobile */
@media (max-width: 480px) {
    .container { padding: 0 var(--space-md); }
    .hero { padding: 75px 0 var(--space-lg); }
    .hero h1 { font-size: var(--text-xl); }
    .hero-subtitle { font-size: var(--text-sm); }
    .hero-stats { gap: var(--space-md); }
    .stat { min-width: 70px; }
    .stat-number { font-size: var(--text-md); }
    .hero-form { padding: var(--space-md) var(--space-md); }
    .hero-form h2 { font-size: var(--text-base); padding-top: var(--space-md); }
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-2xs); }
    .service-card { padding: var(--space-sm) var(--space-2xs); }
    .service-icon { font-size: var(--text-md); }
    .service-card h3 { font-size: 9px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
    .pricing-card { padding: var(--space-lg) var(--space-md); }
    .section-title { font-size: var(--text-lg); }
    .cta-box { padding: var(--space-xl) var(--space-md); }
    .cta-box h2 { font-size: var(--text-lg); }
}


/* POPUP */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: var(--text-2xl);
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.popup-close:hover {
    color: var(--text-dark);
}

.popup-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    font-size: var(--text-3xl);
    color: white;
}

.popup-content h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.popup-subtitle {
    font-size: var(--text-sm);
    margin-top: var(--space-xl) !important;
}

.popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--text-base);
    margin-top: var(--space-md);
    transition: var(--transition);
}

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