:root{
  /* Palette inspirée du CV (beige/rose poudré/taupe) */
  --bg: #ffffff;
  --tint: #f6efec;          /* fond léger poudré */
  --text: #1f1f22;          /* quasi noir */
  --muted: #5b5b63;
  --border: #e8e3e1;
  --shadow: 0 14px 30px rgba(16, 24, 40, 0.10);

  --header-h: 74px;
  --anchor-gap: 32px;
  --header-offset: 90px;

  --primary: #c98889;       /* taupe */
  --primary-2: #b9797a;     /* hover */
  --soft: #ebe5e5;          /* badges / accents */
  --soft-2: #f3eeee;        /* variante douce */

  --radius: 18px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- ACCESSIBILITY ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: none;
}

/* ---------- HEADER ---------- */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  height: 74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  position: relative; /* ancre le menu mobile */
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand__icon{ color: var(--primary); display:flex; }
.brand__text{ font-size: 18px; }
.brand__caps{ letter-spacing: 0.04em; }

.nav{
  display:flex;
  align-items:center;
  gap: 24px;
}
.nav a{
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
}
.nav a:hover{ opacity: .75; }

.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  margin: 6px 10px;
  background: var(--text);
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 750;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  user-select:none;
}
.btn--small{ padding: 10px 16px; border-radius: 12px; }
.btn--full{ width:100%; }

.btn--primary{
  background: var(--primary);
  color:#fff;
}
.btn--primary:hover{ background: var(--primary-2); }

.btn--ghost{
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover{ background: #fafafa; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible{
  box-shadow: 0 0 0 4px rgba(149, 136, 129, 0.25);
  border-color: rgba(149, 136, 129, 0.55);
}

/* ---------- HERO ---------- */
.hero{
  background: var(--tint);
  padding: 56px 0 46px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items:center;
}
.kicker{
  display:inline-block;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31,31,34,0.65);
  margin-bottom: 10px;
}
.hero h1{
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero p{
  font-size: 18px;
  color: #2f2f35;
  max-width: 60ch;
  margin-bottom: 22px;
}
.hero__cta{ display:flex; gap: 14px; flex-wrap:wrap; }
.hero__media{ display:flex; justify-content:flex-end; }

.hero__meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pill{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 650;
  color: rgba(31,31,34,0.78);
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.06);
}

.img-card{
  width: 100%;
  max-width: 800px;
  height: 500px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ddd;
}

.img-card--shadow{ box-shadow: var(--shadow); }

.about_media--offset{ margin-top: 96px; }

/* ---------- SECTIONS ---------- */
.section{
  padding: 78px 0;
}
.section__head{ margin-bottom: 30px; }
.section__head.center{ text-align:center; }
.section__head h2{
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.section__head p{
  color: var(--muted);
  font-size: 18px;
}

/* ---------- ABOUT ---------- */
.about__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items:start;
}
.about h2{
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 16px;
}
.about p{ color: #2f2f35; margin-bottom: 14px; }

.callout{
  margin-top: 18px;
  background: var(--soft-2);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.callout h3{ font-size: 18px; margin-bottom: 10px; }
.callout ul{ padding-left: 18px; color: #2f2f35; }
.callout li{ margin: 8px 0; }

/* ---------- ICON BADGE ---------- */
.icon-badge{
  width: 44px; height: 44px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--soft);
  color: var(--primary);
}
.icon-badge--small{ width:40px; height:40px; border-radius: 12px; font-size: 18px; }

/* ---------- DOMAINES ---------- */
.cards3{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
}
.card h3{ margin: 12px 0 8px; font-size: 20px; }
.card p{ color: var(--muted); }

.split-panels{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel{
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
}
.panel h3{ font-size: 20px; margin-bottom: 10px; }
.panel p{ margin-bottom: 10px; }

.panel--light{
  background: #fff;
}
.panel--accent{
  background: var(--primary);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}
.panel--accent p{ color: rgba(255,255,255,0.92); }

.bullets{ padding-left: 18px; color: #2f2f35; }
.bullets li{ margin: 10px 0; }
.bullets--white{ color: rgba(255,255,255,0.95); }
.bullets--white li{ margin: 10px 0; }

/* ---------- PRACTICAL ---------- */
.practical__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items:center;
}
.practical h2{
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}
.practical h4{
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.lines{ color: #2f2f35; }
.lines .inline{ display:flex; gap: 10px; align-items:center; margin: 6px 0; }
.mini-icon{ color: var(--primary); }
.note{ margin-top: 8px; color: var(--muted); font-size: 14px; }
.muted{ color: var(--muted); }

.practical__cta{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact__grid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  justify-items: stretch;
}
.box{
  background:#fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 24px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
}
.box h3{ font-size: 20px; margin-bottom: 14px; }

.contact-row{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 10px 0;
}
.label{ color: var(--muted); font-size: 13px; }
.value{ color: #2f2f35; font-weight: 700; }

.link{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link:hover{ opacity: 0.8; }

.notice{
  margin-top: 14px;
  padding: 14px 14px;
  background: var(--soft-2);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  color: rgba(31,31,34,0.85);
  font-size: 14px;
}

.form{
  display:grid;
  gap: 12px;
}
.form label{
  display:grid;
  gap: 6px;
  color: #2f2f35;
  font-weight: 700;
  font-size: 13px;
}
input, textarea{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d7dde3;
  font: inherit;
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(149, 136, 129, 0.55);
  box-shadow: 0 0 0 4px rgba(149, 136, 129, 0.18);
}
.hint{ color: var(--muted); font-size: 13px; margin-top: 6px; }

.form-status{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(31,31,34,0.80);
  min-height: 1.2em;
}

.consent{
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  text-align: left;
}

.consent input[type="checkbox"]{
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.consent label{
  margin: 0;
  display: block; /* important si tu as un style global sur label */
}

/* ---------- FOOTER ---------- */
.footer{
  background: #1f1f22;
  color: rgba(255,255,255,0.85);
  padding: 22px 0;
  margin-top: 30px;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items:center;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 750;
}
.footer__center{
  text-align:center;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}
.footer__links{
  display:flex;
  justify-content:flex-end;
  gap: 22px;
}
.footer a{
  color: rgba(255,255,255,0.8);
  text-decoration:none;
}
.footer a:hover{ color:#fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){

  /* Layout: tout en 1 colonne */
  .hero__grid,
  .about__grid,
  .practical__grid,
  .contact__grid,
  .split-panels{
    grid-template-columns: 1fr;
  }

  /* Sections : moins hautes */
  .section{
    padding: 52px 0;
  }

  /* HERO */
  .hero{
    padding: 34px 0 26px;
  }

  .hero__grid{
    gap: 20px;
  }

  .hero h1{
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .hero p{
    font-size: 16px;
  }

  .hero__cta{
    gap: 10px;
  }

  .hero__media{
    justify-content: flex-start;
  }

  /* Images : éviter trop grand sur mobile */
  .img-card{
    height: 260px;
    max-width: 100%;
  }

  /* Cards */
  .cards3{
    grid-template-columns: 1fr;
  }

  /* ABOUT */
  .about__grid{
    gap: 18px;
  }

  .callout{
    padding: 16px;
  }

  /* Burger */
  .burger{
    display: block;
  }

  /* Menu mobile */
  .nav{
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;

    margin: 0 12px;      /* respiration sur les côtés */
    max-width: 520px;    /* évite un menu trop large */
    margin-left: auto;
    margin-right: auto;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;

    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav.is-open{
    display: flex;
  }

  .nav a{
    padding: 10px 12px;
    border-radius: 12px;
  }

  .nav a:hover{
    background: #faf7f6;
    opacity: 1;
  }

  /* Titres sections : éviter débordement */
  .section__head h2{
    overflow-wrap: anywhere;
  }

  /* Footer */
  .footer__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links{
    justify-content: center;
  }

  .footer__brand{
    justify-content: center;
  }
}

/* ---------- OFFSETS POUR ANCRES (header sticky) ---------- */
section[id]{ scroll-margin-top: calc(var(--header-h) - var(--anchor-gap)); }

/* ---------- ANIMATION DOUCE AU SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* PAGES LEGALES / CONFIDENTIALITE */
/* ============================= */

main.section{
  padding: 64px 0;
}

main.section .container{
  max-width: 760px; /* texte plus lisible */
}

main.section h1{
  font-size: clamp(28px, 5vw, 36px);
  margin-bottom: 24px;
}

main.section h2{
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

main.section p,
main.section ul{
  line-height: 1.75;
  margin-bottom: 14px;
}

main.section ul{
  padding-left: 18px;
}

main.section a{
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
