/* ==========================================================================
   Laboratoire Moreaux — Site vitrine
   Style médical haut de gamme : blanc / bleu / gris clair
   ========================================================================== */

:root {
  --blue-900: #0a3a6e;
  --blue-800: #0a4d8c;
  --blue-700: #1259a6;
  --blue-600: #1e6fb8;
  --blue-500: #4a90d4;
  --blue-50:  #e8f1f9;
  --blue-100: #d6e6f4;

  --gray-900: #1a2332;
  --gray-800: #2d3a4f;
  --gray-700: #4a5568;
  --gray-600: #5a6577;
  --gray-500: #7a8599;
  --gray-300: #cbd3df;
  --gray-200: #e3e9f0;
  --gray-100: #f4f7fb;
  --gray-50:  #f9fbfd;

  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(10, 58, 110, 0.06), 0 1px 2px rgba(10, 58, 110, 0.04);
  --shadow-md: 0 6px 18px rgba(10, 58, 110, 0.08), 0 2px 6px rgba(10, 58, 110, 0.04);
  --shadow-lg: 0 20px 50px rgba(10, 58, 110, 0.12), 0 8px 18px rgba(10, 58, 110, 0.06);
  --shadow-xl: 0 30px 80px rgba(10, 58, 110, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --container: 1200px;
  --header-h: 78px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-900); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue-800);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(10, 77, 140, 0.28);
}
.btn-primary:hover {
  background: var(--blue-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 77, 140, 0.36);
}
.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-100);
}
.btn-ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  color: var(--blue-900);
}
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gray-900);
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gray-900);
  font-weight: 700;
}
.logo-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav a:hover {
  color: var(--blue-800);
  background: var(--blue-50);
}
.main-nav .nav-cta {
  background: var(--blue-800);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  margin-left: 10px;
  box-shadow: 0 6px 16px rgba(10, 77, 140, 0.2);
}
.main-nav .nav-cta:hover {
  background: var(--blue-900);
  color: var(--white);
  transform: translateY(-1px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(74, 144, 212, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(232, 241, 249, 0.9), transparent 50%),
    linear-gradient(180deg, #fafcfe 0%, #f4f7fb 100%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { max-width: 580px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--blue-100);
  margin-bottom: 24px;
}

.text-accent {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.18rem;
  color: var(--gray-700);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.hero-trust strong { color: var(--gray-900); font-weight: 700; }

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  height: 540px;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main {
  width: 78%;
  height: 78%;
  top: 0;
  right: 0;
}
.hero-card-sub {
  width: 50%;
  height: 50%;
  bottom: 0;
  left: 0;
  border: 6px solid var(--white);
}
.hero-badge {
  position: absolute;
  top: 50%;
  right: -10px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero-badge svg { flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 0.88rem; color: var(--gray-900); }
.hero-badge span { font-size: 0.76rem; color: var(--gray-600); }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.trust-item p {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ==========================================================================
   SECTIONS COMMUNES
   ========================================================================== */
.section { padding: 110px 0; position: relative; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head p {
  font-size: 1.08rem;
  color: var(--gray-600);
  margin-top: 12px;
}

.lead {
  font-size: 1.12rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* TWO-COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-image { order: 1; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.section-about { background: var(--white); }

.check-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--gray-800);
}

.image-stack { position: relative; }
.image-stack img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.stat-card {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--blue-700);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue-800);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.86rem;
  color: var(--gray-600);
  margin-top: 6px;
  max-width: 180px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.section-services {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--blue-700);
  color: var(--white);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.service-tags li {
  font-size: 0.78rem;
  color: var(--blue-800);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* ==========================================================================
   QUALITY
   ========================================================================== */
.section-quality { background: var(--white); }

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quality-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
}
.quality-card:hover {
  border-color: var(--blue-100);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.quality-card .flag {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.quality-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.quality-card h3 { font-size: 1.1rem; }
.quality-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ==========================================================================
   DELIVERY
   ========================================================================== */
.section-delivery {
  background: var(--gray-50);
}
.rounded-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.delivery-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0 36px;
}
.delivery-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.df-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-700);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.delivery-feature h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--gray-900);
}
.delivery-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ==========================================================================
   POURQUOI NOUS
   ========================================================================== */
.section-why {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
}
.section-why .section-eyebrow { color: var(--blue-100); }
.section-why h2 { color: var(--white); }
.section-why .section-head p { color: rgba(255, 255, 255, 0.85); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}
.why-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--blue-100);
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.7;
}
.why-card h3 {
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.section-contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  background: var(--gray-50);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.form-group label span { color: #d73a49; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(74, 144, 212, 0.18);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.form-group input.error,
.form-group textarea.error {
  border-color: #d73a49;
  background: #fff5f5;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  font-size: 0.84rem !important;
  color: var(--gray-600) !important;
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-label input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }

.form-feedback {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-feedback.success { color: #2da764; }
.form-feedback.error { color: #d73a49; }

/* Contact info */
.contact-info { padding-top: 12px; }
.contact-info h3 { margin-bottom: 24px; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-list li > svg { flex-shrink: 0; margin-top: 2px; }
.contact-list strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.contact-list a, .contact-list span {
  font-size: 0.98rem;
  color: var(--gray-900);
  font-weight: 500;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.map-wrapper iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.92rem;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 360px;
}
.logo-light .logo-text strong { color: var(--white); }
.logo-light .logo-text em { color: rgba(255, 255, 255, 0.55); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-contact li { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   ANIMATIONS REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-content { max-width: 100%; }
  .hero-visual { height: 460px; max-width: 560px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse .col-text { order: 1; }
  .two-col.reverse .col-image { order: 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 32px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .main-nav .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }
  .burger { display: flex; }

  .hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .hero-visual { height: 380px; }
  .hero-card-main { width: 80%; height: 80%; }
  .hero-card-sub { width: 55%; height: 50%; }
  .hero-badge { padding: 10px 14px; right: 0; }
  .hero-badge strong { font-size: 0.78rem; }
  .hero-badge span { font-size: 0.7rem; }
  .hero-trust { gap: 18px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }

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

  .stat-card { left: 16px; bottom: -20px; padding: 20px 22px; }
  .stat-number { font-size: 2rem; }
  .image-stack img { height: 380px; }
  .rounded-img { height: 320px; }

  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .logo-text em { display: none; }
  .hero-card-sub { display: none; }
  .hero-card-main { width: 100%; height: 100%; }
  .hero-visual { height: 320px; }
}

/* ==========================================================================
   PAGES LÉGALES
   ========================================================================== */
.legal-page {
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: var(--gray-50);
  min-height: 70vh;
}
.legal-page .container { max-width: 820px; }
.legal-page .back-link {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--blue-700);
  margin-bottom: 28px;
  font-weight: 500;
}
.legal-page .back-link:hover { color: var(--blue-900); }
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
  color: var(--gray-900);
}
.legal-page .legal-meta {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.legal-page section {
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.legal-page h2 {
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 16px;
  margin-top: 0;
}
.legal-page p {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0;
  color: var(--gray-700);
}
.legal-page ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}
.legal-page strong { color: var(--gray-900); }
.legal-page a { color: var(--blue-700); }
.legal-page a:hover { text-decoration: underline; }
.legal-page .legal-note {
  background: #fff8e1;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid #f59e0b;
  font-size: 0.9rem;
  color: #92400e;
}
.legal-page .legal-highlight {
  background: var(--blue-50);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--blue-700);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   PAGE MERCI
   ========================================================================== */
.thanks-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.thanks-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.thanks-icon { margin-bottom: 24px; display: flex; justify-content: center; }
.thanks-card h1 { font-size: 2.2rem; margin-bottom: 16px; }
.thanks-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 32px;
  line-height: 1.65;
}
.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.thanks-note {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 600px) {
  .legal-page section { padding: 22px 20px; }
  .legal-page h1 { font-size: 1.7rem; }
  .legal-page h2 { font-size: 1.15rem; }
  .thanks-card { padding: 40px 24px; }
  .thanks-card h1 { font-size: 1.7rem; }
  .thanks-actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.25s ease;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  background: #1ebe5d;
  color: white;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.75); }
}
@media (max-width: 480px) {
  .whatsapp-btn span { display: none; }
  .whatsapp-btn { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
