/* ============================================================
   5DEVIS.CH — CSS Principal
   ============================================================ */

/* --- Variables & Reset --- */
:root {
    --green:       #0F6E56;
    --green-dark:  #085041;
    --green-light: #E1F5EE;
    --green-mid:   #1D9E75;
    --white:       #FFFFFF;
    --gray-50:     #F8F9FA;
    --gray-100:    #F1F3F5;
    --gray-200:    #E9ECEF;
    --gray-400:    #ADB5BD;
    --gray-600:    #6C757D;
    --gray-800:    #343A40;
    --gray-900:    #212529;
    --red:         #E24B4A;
    --amber:       #EF9F27;
    --blue:        #185FA5;
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition:  0.2s ease;
    --container:   1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--gray-50); }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
p  { color: var(--gray-600); line-height: 1.7; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; color: var(--gray-900); }
.section-header p  { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.section-badge { display: inline-block; background: var(--green-light); color: var(--green); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap; }
.btn-primary  { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-secondary { background: var(--green-light); color: var(--green); border-color: var(--green-light); }
.btn-secondary:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-white    { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); }
.btn-danger   { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-lg  { padding: 14px 28px; font-size: 16px; }
.btn-xl  { padding: 18px 36px; font-size: 18px; }
.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.mt-2 { margin-top: 24px; }

/* --- Forms --- */
.form-group   { margin-bottom: 20px; }
.form-label   { display: block; font-weight: 600; font-size: 14px; color: var(--gray-800); margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); font-size: 15px; color: var(--gray-900); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); }
.form-control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,110,86,0.12); }
.form-select  { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-hint    { font-size: 12px; color: var(--gray-600); margin-top: 4px; }
.form-error   { font-size: 12px; color: var(--red); margin-top: 4px; }
.form-control.is-invalid { border-color: var(--red); }
.form-check   { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
textarea.form-control { min-height: 120px; resize: vertical; }

/* --- Header / Navbar --- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.navbar { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo   { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--gray-900); flex-shrink: 0; }
.logo-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--green); color: var(--white); border-radius: var(--radius-md); font-size: 1.2rem; font-weight: 900; }
.logo-icon.small { width: 28px; height: 28px; font-size: 1rem; }
.logo-ch { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link  { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--gray-700); font-weight: 500; font-size: 15px; transition: all var(--transition); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: var(--gray-100); color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav   { padding: 9px 18px; font-size: 14px; border-radius: var(--radius-md); font-weight: 600; border: 1.5px solid transparent; transition: all var(--transition); }
.btn-nav.btn-outline { border-color: var(--gray-300); color: var(--gray-800); }
.btn-nav.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-nav.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-nav.btn-primary:hover { background: var(--green-dark); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: -16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; min-width: 360px; z-index: 200; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); color: var(--gray-700); font-size: 14px; transition: all var(--transition); }
.dropdown-item:hover { background: var(--green-light); color: var(--green); }
.dropdown-item i { font-size: 18px; color: var(--green); }

/* Lang switcher */
.lang-switcher { display: flex; gap: 2px; }
.lang-btn { padding: 4px 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: var(--gray-500); transition: all var(--transition); }
.lang-btn:hover, .lang-btn.active { background: var(--green); color: var(--white); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all var(--transition); }

/* --- Flash Messages --- */
.flash { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; font-size: 14px; font-weight: 500; border-bottom: 1px solid transparent; }
.flash-success { background: var(--green-light); color: var(--green-dark); border-color: #9FE1CB; }
.flash-error   { background: #FCEBEB; color: #A32D2D; border-color: #F7C1C1; }
.flash-info    { background: #E6F1FB; color: #185FA5; border-color: #B5D4F4; }
.flash-close   { background: none; border: none; font-size: 20px; cursor: pointer; opacity: 0.6; }

/* --- HERO --- */
.hero { background: linear-gradient(135deg, #F0FBF7 0%, #FFFFFF 60%); padding: 80px 0 60px; border-bottom: 1px solid var(--gray-200); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-light); color: var(--green); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 20px; margin-bottom: 24px; }
.hero-title { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--gray-900); margin-bottom: 16px; }
.hero-subtitle { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 32px; }
.hero-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; margin-bottom: 20px; border: 1px solid var(--gray-200); }
.hero-form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-form-field { flex: 1; min-width: 180px; }
.btn-hero { white-space: nowrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-600); font-weight: 500; }
.hero-trust i { color: var(--green); }

/* Devis cards stack */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 320px; height: 280px; }
.devis-card { position: absolute; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 20px; border: 1px solid var(--gray-200); width: 280px; transition: all var(--transition); }
.devis-card-1 { top: 0; left: 0; transform: rotate(-4deg); opacity: 0.7; z-index: 1; }
.devis-card-2 { top: 20px; left: 20px; transform: rotate(2deg); opacity: 0.85; z-index: 2; }
.devis-card-3 { top: 40px; left: 40px; z-index: 3; }
.dc-highlight { border: 2px solid var(--green); }
.dc-badge { background: var(--green); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.dc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dc-company { font-weight: 700; font-size: 14px; }
.dc-stars { color: var(--amber); font-size: 13px; }
.dc-price { font-size: 1.8rem; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.dc-service { font-size: 13px; color: var(--gray-600); }

/* --- Stats bar --- */
.stats-bar { background: var(--green); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.stat-item { padding: 16px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.stat-label  { font-size: 14px; color: rgba(255,255,255,0.8); }

/* --- Services grid --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.service-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: all var(--transition); }
.service-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon { width: 52px; height: 52px; background: var(--green-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--green); }
.service-name { font-weight: 700; font-size: 1.05rem; color: var(--gray-900); }
.service-desc { font-size: 13px; color: var(--gray-600); flex: 1; }
.service-cta  { font-size: 13px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 4px; margin-top: auto; }

/* --- Steps --- */
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; margin-bottom: 48px; }
.step-item { text-align: center; padding: 0 16px; }
.step-num  { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-icon { width: 64px; height: 64px; background: var(--white); border: 2px solid var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--green); margin: 0 auto 16px; box-shadow: var(--shadow-sm); }
.step-item h3 { margin-bottom: 8px; font-size: 1rem; }
.step-item p  { font-size: 13px; }
.step-arrow { padding-top: 80px; color: var(--gray-400); font-size: 24px; }
.step-arrow::after { content: '→'; }
.how-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Avantages --- */
.avantages-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.avantages-list { margin: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.avantage-item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--gray-800); }
.avantage-check { color: var(--green); font-size: 20px; flex-shrink: 0; }
.trust-box { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; border: 1px solid var(--gray-200); }
.trust-item { display: flex; align-items: flex-start; gap: 16px; }
.trust-icon { font-size: 28px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: 15px; color: var(--gray-900); margin-bottom: 4px; }
.trust-item p { font-size: 13px; margin: 0; }
.trust-rating { text-align: center; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.trust-stars { font-size: 24px; color: var(--amber); margin-bottom: 4px; }
.trust-score { font-size: 14px; font-weight: 600; color: var(--gray-700); }

/* --- Cantons --- */
.cantons-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.canton-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 20px; transition: all var(--transition); font-size: 14px; }
.canton-pill:hover { border-color: var(--green); background: var(--green-light); }
.canton-code { font-weight: 800; font-size: 13px; color: var(--green); }
.canton-nom  { color: var(--gray-600); }

/* --- Partenaire section --- */
.partenaire-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.partenaire-tarif { display: flex; gap: 24px; margin: 24px 0; flex-wrap: wrap; }
.tarif-item { background: var(--green-light); border-radius: var(--radius-md); padding: 16px 20px; }
.tarif-label { font-size: 12px; color: var(--green-dark); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.tarif-val   { font-size: 1.4rem; font-weight: 800; color: var(--green); }
.partenaire-avantages { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.partenaire-av-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-700); }
.partenaire-av-item i { color: var(--green); margin-top: 2px; }
.canton-exclusive-box { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid var(--gray-200); }
.ceb-title { font-weight: 700; font-size: 15px; margin-bottom: 16px; color: var(--gray-800); }
.ceb-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.ceb-item  { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 6px; border-radius: var(--radius-md); font-size: 12px; font-weight: 700; gap: 4px; }
.ceb-item.taken { background: var(--gray-100); color: var(--gray-500); }
.ceb-item.free  { background: var(--green-light); color: var(--green); cursor: pointer; }
.ceb-item.free:hover { background: var(--green); color: var(--white); }
.ceb-legend { display: flex; gap: 16px; font-size: 12px; }
.leg-taken  { color: var(--gray-500); }
.leg-taken::before  { content: '● '; }
.leg-free   { color: var(--green); font-weight: 600; }
.leg-free::before   { content: '● '; }

/* --- CTA Section --- */
.cta-section { background: var(--green); padding: 80px 0; }
.cta-box { text-align: center; }
.cta-box h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-box p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }

/* --- Footer --- */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-social a:hover { background: var(--green); }
.footer-title { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--gray-400); transition: color var(--transition); }
.footer-links a:hover { color: var(--green-mid); }
.footer-links-2col { display: grid; grid-template-columns: repeat(2, 1fr); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; }
.footer-paiements { display: flex; align-items: center; gap: 12px; }
.footer-paiements img { filter: brightness(0) invert(0.7); }

/* --- Dashboard cards --- */
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; }
.stat-card-label { font-size: 13px; color: var(--gray-600); margin-bottom: 8px; font-weight: 500; }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--gray-900); }
.stat-card-sub   { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

/* --- Tables --- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: var(--gray-50); font-weight: 600; color: var(--gray-700); padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-800); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }

/* --- Badges de statut --- */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-success  { background: var(--green-light); color: var(--green-dark); }
.badge-warning  { background: #FAEEDA; color: #854F0B; }
.badge-danger   { background: #FCEBEB; color: #A32D2D; }
.badge-info     { background: #E6F1FB; color: #185FA5; }
.badge-default  { background: var(--gray-100); color: var(--gray-600); }

/* --- Auth pages --- */
.auth-page { min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; background: var(--gray-50); padding: 40px 24px; }
.auth-card { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 48px; width: 100%; max-width: 460px; border: 1px solid var(--gray-200); }
.auth-logo-wrap { text-align: center; margin-bottom: 32px; }
.auth-title { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; text-align: center; }
.auth-sub   { font-size: 15px; color: var(--gray-600); text-align: center; margin-bottom: 32px; }
.auth-footer { text-align: center; font-size: 14px; color: var(--gray-600); margin-top: 24px; }
.auth-footer a { color: var(--green); font-weight: 600; }

/* --- Devis form steps --- */
.devis-stepper { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; counter-reset: step; }
.devis-step { display: flex; align-items: center; gap: 12px; }
.devis-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-200); color: var(--gray-600); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.devis-step.active .devis-step-num { background: var(--green); color: var(--white); }
.devis-step.done .devis-step-num   { background: var(--green-mid); color: var(--white); }
.devis-step-label { font-size: 14px; font-weight: 500; color: var(--gray-600); white-space: nowrap; }
.devis-step.active .devis-step-label { color: var(--gray-900); font-weight: 700; }
.devis-step-line { width: 40px; height: 2px; background: var(--gray-200); margin: 0 4px; }
.devis-step.done + .devis-step-line { background: var(--green); }

/* --- PDF / Impression --- */
@media print {
    .header, .footer, .btn, .nav-links, .lang-switcher, .flash { display: none !important; }
    body { font-size: 12pt; }
    .container { max-width: 100%; padding: 0; }
    .devis-pdf-header { display: flex !important; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid #000; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content     { grid-template-columns: 1fr; }
    .hero-visual      { display: none; }
    .footer-grid      { grid-template-columns: 1fr 1fr; }
    .avantages-layout { grid-template-columns: 1fr; }
    .partenaire-layout { grid-template-columns: 1fr; }
    .steps-grid       { grid-template-columns: 1fr 1fr; gap: 24px; }
    .step-arrow       { display: none; }
}

@media (max-width: 768px) {
    .section    { padding: 48px 0; }
    .nav-links  { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; padding: 24px; overflow-y: auto; z-index: 99; }
    .nav-links.open { display: flex; }
    .burger     { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-form-row { flex-direction: column; }
    .steps-grid { grid-template-columns: 1fr; }
    .auth-card  { padding: 32px 24px; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn-xl    { padding: 14px 24px; font-size: 16px; }
    .hero-badge { font-size: 12px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
}

/* --- Icons (simulation avec CSS — remplacer par icon font réel) --- */
[class^="icon-"] { display: inline-flex; align-items: center; justify-content: center; }
