/* ============================================================
   MCDR — Landing statique FR/EN
   Style : Soft & Organic — Pratcom Media
   ============================================================ */

:root {
  /* Couleurs — tirées du logo MCDR (navy / teal / jaune) */
  --brand-primary: #2f7f91;        /* teal foncé (boutons, liens) */
  --brand-primary-dark: #25687a;
  --brand-teal: #4da5b5;           /* teal du logo (accents décoratifs) */
  --brand-dark: #14355a;           /* navy du logo (titres, footer) */
  --brand-cream: #f6f9fa;
  --brand-sand: #e9eef1;
  --brand-white: #ffffff;
  --brand-accent: #f0ac2b;         /* jaune du logo */
  --messenger: #0084ff;
  --text: #26374a;
  --text-soft: #57687a;

  /* Typo */
  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Espacements */
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 6rem;
  --radius: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 40px rgba(18, 60, 58, 0.10);
  --maxw: 1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--brand-cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--brand-dark); line-height: 1.2; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--primary { background: var(--brand-primary); color: #fff; }
.btn--primary:hover { background: var(--brand-primary-dark); }
.btn--messenger { background: var(--messenger); color: #fff; }
.btn--outline { border: 2px solid var(--brand-primary); color: var(--brand-primary-dark); background: transparent; }
.btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 60, 58, .08);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem; max-width: var(--maxw); margin: 0 auto;
}
.header__logo img { height: 90px; width: auto; }
.header__nav { display: none; }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.header__phone { font-family: var(--font-heading); font-weight: 700; text-decoration: none; color: var(--brand-dark); white-space: nowrap; }
.header__lang {
  font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  text-decoration: none; color: var(--brand-primary-dark);
  border: 1.5px solid var(--brand-primary); border-radius: var(--radius-pill);
  padding: .3rem .85rem;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--space-l) 0 var(--space-xl); }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,165,181,.18), transparent 70%);
}
.hero__inner { display: grid; gap: var(--space-m); align-items: center; }
.hero__eyebrow {
  display: inline-block; font-family: var(--font-heading); font-weight: 600;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-primary-dark);
  background: rgba(77,165,181,.15); border-radius: var(--radius-pill);
  padding: .35rem 1rem; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--brand-primary); }
.hero__text { color: var(--text-soft); font-size: 1.15rem; max-width: 34em; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.hero__badge {
  position: absolute; bottom: -18px; left: 18px;
  background: var(--brand-white); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft); padding: .6rem 1.25rem;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  color: var(--brand-dark); display: flex; align-items: center; gap: .5rem;
}
.hero__badge svg { width: 1.25em; height: 1.25em; color: var(--brand-primary); }

/* ---------- Sections génériques ---------- */
.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--brand-white); }
.section__eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-primary-dark);
  margin-bottom: .5rem;
}
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1rem; }
.section__lead { color: var(--text-soft); max-width: 40em; }

/* ---------- À propos ---------- */
.about__grid { display: grid; gap: var(--space-m); margin-top: var(--space-m); }
.about__card {
  background: var(--brand-white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-soft);
}
.about__card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: 1.15rem; }
.about__card svg { width: 1.5em; height: 1.5em; color: var(--brand-primary); flex-shrink: 0; }
.about__card p { color: var(--text-soft); }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .85rem; margin-top: var(--space-m);
}
.service {
  display: flex; align-items: center; gap: .75rem;
  background: var(--brand-sand); border-radius: 16px;
  padding: 1rem 1.15rem; font-family: var(--font-heading); font-weight: 600;
  color: var(--brand-dark); font-size: .95rem;
  transition: transform .2s ease;
}
.service:hover { transform: translateY(-3px); }
.service svg { width: 1.5em; height: 1.5em; color: var(--brand-primary); flex-shrink: 0; }

/* ---------- Fréquences ---------- */
.freq { background: var(--brand-dark); color: #e8f1f0; border-radius: var(--radius); padding: 2.5rem 1.5rem; margin-top: var(--space-l); }
.freq h3 { color: #fff; font-size: 1.35rem; margin-bottom: .5rem; }
.freq p { color: rgba(232,241,240,.85); max-width: 44em; }
.freq__pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.freq__pill {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill); padding: .45rem 1.15rem;
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
}
.freq__pill--accent { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-dark); }

/* ---------- Avant / Après ---------- */
.ba__grid { display: grid; gap: var(--space-m); margin-top: var(--space-m); }
.ba__col h3 {
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 1rem; display: inline-block;
  padding: .3rem 1.1rem; border-radius: var(--radius-pill);
}
.ba__col--before h3 { background: var(--brand-sand); color: var(--text-soft); }
.ba__col--after h3 { background: rgba(77,165,181,.16); color: var(--brand-primary-dark); }
.ba__imgs { display: grid; gap: .85rem; }
.ba__imgs img {
  border-radius: 16px; width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; box-shadow: var(--shadow-soft);
}

/* ---------- CTA / Estimation ---------- */
.cta { text-align: center; }
.cta__cards { display: grid; gap: var(--space-m); margin-top: var(--space-m); }
.cta__card {
  background: var(--brand-white); border-radius: var(--radius);
  padding: 2.5rem 1.5rem; box-shadow: var(--shadow-soft);
}
.cta__card svg { width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--brand-primary); }
.cta__card--messenger svg { color: var(--messenger); }
.cta__card h3 { margin-bottom: .35rem; }
.cta__card p { color: var(--text-soft); margin-bottom: 1.25rem; }
.cta__phone {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
  color: var(--brand-dark); text-decoration: none;
}

/* ---------- Footer ---------- */
.footer { background: var(--brand-dark); color: rgba(232,241,240,.8); padding: var(--space-l) 0 var(--space-m); }
.footer__inner { display: grid; gap: var(--space-m); }
.footer__logo img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; }
.footer__links a { color: rgba(232,241,240,.8); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: #fff; }
.footer__legal { font-size: .85rem; color: rgba(232,241,240,.5); margin-top: var(--space-m); }
.footer__credit { font-size: .85rem; color: rgba(232,241,240,.6); margin-top: .35rem; }
.footer__credit a { color: rgba(232,241,240,.85); font-weight: 600; text-decoration: none; }
.footer__credit a:hover { color: #fff; text-decoration: underline; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.legal__updated { color: var(--text-soft); font-size: .95rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal ul { margin-bottom: 1rem; color: var(--text); }
.legal ul { padding-left: 1.5rem; }
.legal li { margin-bottom: .4rem; }
.legal .notice {
  background: rgba(77,165,181,.12); border-left: 4px solid var(--brand-teal);
  border-radius: 0 12px 12px 0; padding: 1rem 1.25rem; margin: 1.5rem 0;
}

/* ---------- Animations (scroll reveal) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Breakpoints (mobile-first) ---------- */
@media (min-width: 640px) {
  .header__logo img { height: 125px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .cta__cards { grid-template-columns: 1fr 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }
  .ba__grid { grid-template-columns: 1fr 1fr; }
  .freq { padding: 3rem; }
}
@media (min-width: 900px) {
  .header__nav { display: flex; gap: 1.75rem; list-style: none; }
  .header__nav a {
    text-decoration: none; color: var(--brand-dark);
    font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  }
  .header__nav a:hover { color: var(--brand-primary-dark); }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: var(--space-l); }
  .about__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(5, 1fr); }
  .service { flex-direction: column; text-align: center; padding: 1.35rem 1rem; gap: .6rem; }
  .footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer__links { justify-content: flex-end; }
}
