/* =============================================
   PACK ENERGIE - Design Professionnel
   Charte : Vert & Blanc - Trust-first design
   ============================================= */

/* --- FONTS (local, RGPD compliant) --- */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/inter-800.woff2') format('woff2'); }

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-900: #1A6B18;
  --green-800: #228B22;
  --green-700: #3BA63A;
  --green-600: #4CB944;
  --green-500: #5EC85A;
  --green-400: #7DD87A;
  --green-100: #E3F5E1;
  --green-50: #F2FAF1;
  --white: #ffffff;
  --gray-25: #FCFCFD;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --amber-500: #F59E0B;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
  --max-width: 1200px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--gray-500);
}

.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

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

.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  box-shadow: 0 4px 12px rgba(59,166,58,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}

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

.btn-white {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--green-50);
  border-color: var(--green-50);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- HEADER / NAVBAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

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

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--gray-900);
  background: var(--gray-50);
}

.nav-link.active {
  color: var(--green-700);
  font-weight: 600;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.15s ease;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: 6px;
  transition: all var(--transition);
}

.dropdown-menu a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.nav-cta {
  margin-left: 20px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* --- HERO --- */
.hero {
  padding: 160px 0 100px;
  background: var(--green-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,107,24,0.92) 0%, rgba(59,166,58,0.85) 50%, rgba(26,107,24,0.88) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero .btn-group {
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* --- SECTIONS --- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-green {
  background: var(--green-50);
}

/* --- REASSURANCE BAR --- */
.reassurance {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.reassurance-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reassurance-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}

.reassurance-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.reassurance-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.reassurance-item p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

/* --- CARDS GRID --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
}

.card:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-700);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.card p {
  font-size: 0.875rem;
  margin-bottom: 16px;
  color: var(--gray-500);
  line-height: 1.6;
}

.card-link {
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 8px;
}

/* --- PILLAR COLUMNS --- */
.pillars {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pillars .pillar {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  position: relative;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--green-600);
  border-radius: 0 0 3px 3px;
}

.pillar h3 {
  color: var(--green-800);
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.pillar ul {
  list-style: none;
}

.pillar ul li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.pillar ul li:last-child {
  border-bottom: none;
}

.pillar ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--green-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 10.5L4 8l-.7.7 3.2 3.2 6.9-6.9-.7-.7z' fill='%234CB944'/%3E%3C/svg%3E");
}

/* --- CAROUSEL CARDS (cards inside carousel) --- */
.carousel .card {
  min-width: calc(33.333% - 14px);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .carousel .card {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .carousel .card {
    min-width: 100%;
  }
}

/* --- CAROUSEL --- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  gap: 20px;
}

.carousel .testimonial {
  min-width: calc(33.333% - 14px);
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.carousel-btn:hover {
  border-color: var(--green-600);
  color: var(--green-700);
  background: var(--green-50);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--green-700);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .carousel .testimonial {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .carousel .testimonial {
    min-width: 100%;
  }
}

/* --- FINANCING TABLE --- */
.finance-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.finance-table th {
  background: var(--green-800);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.finance-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.finance-table tr:last-child td {
  border-bottom: none;
}

.finance-table tbody tr:hover {
  background: var(--green-50);
}

/* --- HIGHLIGHT BOX --- */
.highlight-box {
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
}

.highlight-box h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.highlight-box p {
  color: rgba(255,255,255,0.75);
}

.highlight-box .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin: 12px 0;
  letter-spacing: -0.03em;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--amber-500);
  font-size: 0.875rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.testimonial p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: normal;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.875rem;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

/* --- PROCESS STEPS --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}

.step:hover {
  border-color: var(--green-600);
}

.step-number {
  min-width: 40px;
  height: 40px;
  background: var(--green-700);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.step p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--gray-500);
}

/* --- COMPARISON --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-col {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.comparison-col.old {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.comparison-col.new {
  background: var(--green-50);
  border: 1px solid var(--green-600);
}

.comparison-col h3 {
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.comparison-col.new h3 {
  color: var(--green-800);
}

/* --- CTA SECTION --- */
.cta-section {
  background: var(--gray-900);
  padding: 80px 0;
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.cta-left {
  flex: 1;
}

.cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-section p {
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
  font-size: 1rem;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.cta-contact-item strong {
  font-size: 1.0625rem;
  color: var(--white);
}

.cta-contact-item strong a {
  color: var(--white);
}

.cta-contact-item strong a:hover {
  color: var(--green-400);
}

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .cta-right {
    align-items: center;
  }
  .cta-contact {
    align-items: center;
  }
}

/* --- CONTACT FORM --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--white);
  color: var(--gray-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(76,185,68,0.15);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--green-600);
}

.form-check label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- FOOTER --- */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--green-400);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.footer-brand span {
  color: var(--white);
}

.footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}

.footer-contact-item a:hover {
  color: var(--green-400);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
}

.footer-bottom a:hover {
  color: var(--green-400);
}

/* --- SCROLL TO TOP --- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--green-800);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: var(--white);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  min-width: 280px;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.cookie-inner p a {
  color: var(--green-400);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btns button {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--green-700);
  color: var(--white);
}

.cookie-refuse {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2) !important;
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-btns {
    width: 100%;
    justify-content: center;
  }
}

/* --- ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE: TABLET LANDSCAPE --- */
@media (max-width: 1024px) {
  .cards-grid,
  .pillars,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .reassurance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section {
    padding: 72px 0;
  }
}

/* --- RESPONSIVE: TABLET PORTRAIT & MOBILE --- */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 1000;
    padding: 88px 24px 40px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open .nav-link {
    font-size: 1.0625rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .nav-menu.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    display: none;
    min-width: auto;
  }

  .nav-menu.open .nav-item.dropdown-open .dropdown-menu {
    display: block;
  }

  .nav-menu.open .dropdown-menu a {
    padding: 10px 0;
    font-size: 0.9375rem;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .section {
    padding: 56px 0;
  }

  .section-desc {
    margin-bottom: 32px;
  }

  .cards-grid,
  .pillars,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reassurance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reassurance-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    justify-content: center;
  }

  .hero-badges {
    flex-direction: column;
  }

  .cta-contact {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta-section {
    padding: 56px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .highlight-box {
    padding: 32px 24px;
  }

  .highlight-box .amount {
    font-size: 2rem;
  }

  .container {
    padding: 0 20px;
  }

  .finance-table th,
  .finance-table td {
    padding: 12px 14px;
    font-size: 0.875rem;
  }
}

/* --- RESPONSIVE: SMALL MOBILE --- */
@media (max-width: 480px) {
  .hero {
    padding: 100px 0 48px;
  }

  .hero p {
    font-size: 1rem;
  }

  .card {
    padding: 24px;
  }

  .pillar {
    padding: 24px;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

/* --- TIMELINE (frise chronologique) --- */
.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 0;
  margin-top: 48px;
  padding: 0 10px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--green-100), var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px var(--green-100), var(--shadow-lg);
}

.timeline-content {
  max-width: 180px;
}

.timeline-content h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .timeline-content {
    max-width: 150px;
  }
  .timeline-content p {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 3px;
    height: 100%;
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding-bottom: 32px;
  }

  .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-number {
    min-width: 48px;
    margin-bottom: 0;
  }

  .timeline-content {
    max-width: 100%;
    padding-top: 4px;
  }

  .timeline-content p {
    font-size: 0.8125rem;
  }
}

/* --- RESPONSIVE: LARGE SCREENS --- */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

/* --- PRINT --- */
@media print {
  .header, .footer, .scroll-top, .cta-section { display: none; }
  .hero { padding: 20px 0; background: #fff; color: #000; }
  .hero h1, .hero p { color: #000; }
  .section { padding: 20px 0; }
}
