/* Le Lien Parental — chaleureux & moderne */
:root {
  --cream: #fff9f4;
  --cream-deep: #faf0e8;
  --cream-glow: #fff5ec;
  --beige-block: #f2e6dc;
  --brown: #3d2b24;
  --brown-soft: #6e5348;
  --accent: #c4705c;
  --accent-hover: #a85a48;
  --accent-muted: rgba(196, 112, 92, 0.15);
  --white: #ffffff;
  --line: rgba(61, 43, 36, 0.09);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, sans-serif;
  --radius-pill: 999px;
  --radius-sm: 12px;
  --radius-card: 16px;
  --max: 1120px;
  --header-h: 4.5rem;
  --header-nav-break: 1100px;
  --shadow-sm: 0 4px 24px rgba(61, 43, 36, 0.06);
  --shadow-md: 0 12px 40px rgba(61, 43, 36, 0.08);
  --shadow-lg: 0 28px 64px rgba(61, 43, 36, 0.1);
  --shadow-btn: 0 6px 20px rgba(196, 112, 92, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--brown);
  background-color: var(--cream);
  background-image: radial-gradient(
    ellipse 100% 55% at 50% -15%,
    rgba(196, 112, 92, 0.11) 0%,
    transparent 58%
  );
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 244, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.45rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 43, 36, 0.22);
  background: rgba(255, 255, 255, 0.55);
  color: var(--brown);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out), transform 0.2s var(--ease-out);
  box-shadow: 0 1px 2px rgba(61, 43, 36, 0.04);
}

.btn-pill:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-pill--solid {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.btn-pill--solid:hover {
  background: linear-gradient(145deg, var(--accent-hover) 0%, #8f4a3c 100%);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(196, 112, 92, 0.35);
  transform: translateY(-2px);
}

.header-rdv {
  justify-self: start;
}

.brand {
  grid-column: 2;
  text-align: center;
  justify-self: center;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-desktop {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-toggle:hover {
  text-decoration: none;
}

.menu-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__lines span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
}

.nav-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, var(--cream-deep) 100%);
}

.nav-panel.is-open {
  display: block;
}

.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-panel a {
  padding: 0.5rem 0;
}

.brand__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.brand__tag {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--accent-hover);
  opacity: 0.9;
}

/* Mobile / tablette : grille stable + bouton RDV centré */
@media (max-width: 1099px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem 0.65rem;
  }

  .header-rdv {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    padding: 0.38rem 0.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    line-height: 1.1;
    text-decoration: none;
  }

  .header-rdv__line {
    display: block;
    text-align: center;
  }

  .brand {
    min-width: 0;
    padding-inline: 0.2rem;
  }

  .brand__title {
    font-size: clamp(0.88rem, 2.6vw, 1.1rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand__tag {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .menu-toggle {
    display: none;
  }

  .nav-panel {
    display: none !important;
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem 1.5rem;
  }

  .header-rdv {
    flex-direction: row;
    gap: 0.32em;
    justify-self: unset;
    flex-shrink: 0;
    padding: 0.62rem 1.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: inherit;
  }

  .header-rdv__line {
    display: inline;
  }

  .brand {
    grid-column: unset;
    justify-self: unset;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-actions {
    grid-column: unset;
    justify-self: unset;
    flex-shrink: 0;
    margin-left: auto;
    overflow-x: visible;
    justify-content: flex-end;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    justify-content: flex-end;
  }

  .nav-desktop a {
    white-space: nowrap;
    text-decoration: none;
    padding: 0.35rem 0.2rem;
  }

  .nav-desktop a:hover {
    text-decoration: none;
    color: var(--accent);
  }
}

/* ——— Labels ——— */
.kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--brown);
}

h1 {
  font-size: clamp(2.55rem, 6.2vw, 3.85rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  color: var(--brown-soft);
  font-size: 1.08rem;
}

/* ——— Hero ——— */
.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero__visual {
  order: -1;
}

@media (min-width: 880px) {
  .hero__visual {
    order: 1;
  }
}

/* Photos : ratios fixes + recadrage centré (formats / cadrages variables gérés visuellement) */
.hero__img,
.card__img,
.event-card__img {
  object-fit: cover;
  object-position: center center;
}

.hero__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

@media (hover: hover) {
  .hero__visual:hover .hero__img {
    transform: scale(1.015);
    box-shadow: 0 32px 72px rgba(61, 43, 36, 0.14);
  }
}

/* ——— Vision ——— */
.vision {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream-glow) 100%);
}

.vision-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .vision-grid {
    grid-template-columns: minmax(0, 220px) 1fr;
    gap: 3rem;
  }
}

.vision__deco {
  position: relative;
  width: min(100%, 280px);
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}

@media (min-width: 800px) {
  .vision__deco {
    width: 100%;
    margin-inline: 0;
  }
}

.vision__deco img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.vision__text .lead {
  max-width: 48ch;
}

/* ——— Services ——— */
.services {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-head .kicker {
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 0.98rem;
}

.cards-4 {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
}

.card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  flex-shrink: 0;
}

.card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--brown-soft);
  flex: 1;
}

.link-arrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}

.link-arrow:hover {
  text-decoration: none;
  color: var(--accent-hover);
}

/* ——— Tarifs ——— */
.tarifs {
  padding: 4.5rem 0;
}

.tarifs__box {
  background: linear-gradient(160deg, var(--beige-block) 0%, #eadfd4 100%);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.tarifs-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .tarifs-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.tarifs__intro .lead {
  max-width: 36ch;
}

.price-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .price-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(61, 43, 36, 0.04);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

.price-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.price-card__amount {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-hover);
}

.price-card__detail {
  font-size: 0.88rem;
  color: var(--brown-soft);
  margin: 0;
}

.tarifs-note {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--brown-soft);
  text-align: center;
}

/* ——— Événements ——— */
.events {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--cream-glow) 0%, var(--cream-deep) 100%);
}

.events-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .events-grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.events__side .lead {
  max-width: 28ch;
}

.cards-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

@media (hover: hover) {
  .event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
}

.event-card__img {
  aspect-ratio: 16 / 10;
  width: 100%;
  display: block;
}

.event-card__body {
  padding: 1.1rem 1.15rem 1.35rem;
}

.event-card__meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.event-card p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--brown-soft);
}

/* ——— Contact + FAQ ——— */
.contact-faq {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  background: radial-gradient(ellipse 80% 50% at 100% 0%, var(--accent-muted) 0%, transparent 55%);
}

.cf-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .cf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.contact-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  opacity: 0.65;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-stack input,
.form-stack textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--brown);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-stack input:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: rgba(196, 112, 92, 0.45);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-stack textarea {
  min-height: 140px;
  resize: vertical;
}

.form-stack button[type="submit"] {
  margin-top: 0.25rem;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-privacy-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--brown-soft);
}

.form-privacy-note a {
  color: var(--accent-hover);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  margin-top: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease-out);
}

.faq-item summary:hover {
  color: var(--accent-hover);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  padding-right: 2rem;
  font-size: 0.92rem;
  color: var(--brown-soft);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
  background: linear-gradient(180deg, var(--cream-deep) 0%, #f5ebe3 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

.footer-brand .brand__title {
  font-size: 1rem;
}

.footer-brand .brand__tag {
  font-size: 0.65rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  padding: 0.35rem;
  opacity: 0.85;
}

.footer-social a:hover {
  opacity: 1;
  text-decoration: none;
}

/* ——— Utils ——— */
.mt-btn {
  margin-top: 0.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--white);
}

::selection {
  background: rgba(196, 112, 92, 0.28);
  color: var(--brown);
}

/* ——— Pages légales ——— */
.legal-back {
  display: inline-block;
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--brown);
  margin: 1rem 0 1.5rem;
}

.legal-page h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--brown-soft);
}

.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-page a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-alert {
  margin: 1rem 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--brown);
}

.legal-alert strong {
  color: var(--brown);
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
