/* Carolina Barrios — versión luminosa
   Luz de Sorolla (su casa-museo está en Chamberí): blancos de lino, azul mediterráneo,
   y el rojo de Carolina para la acción principal. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2-variations"), url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2-variations"), url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2-variations"), url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --paper: #FDFBF7;
  --white: #FFFFFF;
  --sky: #EAF2F7;
  --sky-2: #D9E8F1;
  --sea: #1D5B87;
  --sea-2: #174B70;
  --sea-deep: #10324E;
  --ink: #13263A;
  --muted: #4C5E70;
  --accent: #C7303C;
  --accent-hover: #A82532;
  --sun: #E5A823;
  --wa: #25D366;

  --f-display: "Newsreader", "Georgia", serif;
  --f-text: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --t-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --t-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --t-lead: clamp(1.1875rem, 1.08rem + 0.45vw, 1.4375rem);
  --t-h3: clamp(1.5rem, 1.3rem + 0.7vw, 1.9375rem);
  --t-h2: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);
  --t-display: clamp(3.4rem, 1.4rem + 6.4vw, 7.5rem);

  --r-lg: 28px;
  --r-md: 20px;
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 10vw, 152px);
  --bar-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --lift: 0 18px 40px -18px rgba(19, 38, 58, 0.28);

  color-scheme: light;
  scrollbar-color: #A9BCCB var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--sea); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
cite { font-style: italic; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.h2 { font-size: var(--t-h2); font-weight: 380; line-height: 1.02; margin-bottom: 24px; }
.h3 { font-size: var(--t-h3); font-weight: 450; line-height: 1.12; margin-bottom: 14px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }
.stars { display: inline-flex; gap: 2px; color: var(--sun); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Links & buttons ---------- */
.link {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 180ms ease, text-underline-offset 240ms var(--ease-out), color 180ms ease;
}
.link:hover { text-decoration-color: currentColor; text-underline-offset: 0.3em; }
a[href^="tel:"]:not(.channel) { white-space: nowrap; }
/* zone tactile élargie pour les liens isolés (sans décaler la mise en page) */
.pubs__more .link, .cv a, .page__main > p > .link:only-child { padding-block: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  text-align: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 var(--t-small)/1.15 var(--f-text);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, translate 260ms var(--ease-out), scale 140ms var(--ease-out);
}
.btn:hover { translate: 0 -2px; }
.btn:active { scale: 0.98; translate: 0 0; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 0 18px; }
.btn--full { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(199, 48, 60, 0.7); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 16px 30px -14px rgba(199, 48, 60, 0.75); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(19, 38, 58, 0.22); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--sea); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 2px;
  color: var(--accent);
  font-weight: 650;
  font-size: var(--t-small);
  text-decoration: none;
}
.link-go::after {
  content: "";
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: translate 300ms var(--ease-out);
}
.link-go:hover::after { translate: 5px 0; }

/* ---------- Floating bar ---------- */
.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 12px clamp(10px, 2vw, 24px) 0;
  pointer-events: none;
}
.bar__inner {
  pointer-events: auto;
  max-width: 1320px;
  margin: 0 auto;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 14px 0 26px;
  border-radius: 22px;
  background: rgba(253, 251, 247, 0);
  transition: background-color 300ms ease, box-shadow 300ms ease, height 300ms var(--ease-out);
}
.bar.is-scrolled .bar__inner {
  height: 64px;
  background: #fff;
  box-shadow: 0 12px 34px -16px rgba(19, 38, 58, 0.3), 0 0 0 1px rgba(19, 38, 58, 0.05);
}
.bar__brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; margin-right: auto; padding-block: 10px; margin-block: -10px; }
.bar__name { font-family: var(--f-display); font-size: 1.45rem; font-weight: 450; letter-spacing: -0.015em; }
.bar__role { font-size: 0.8125rem; color: var(--muted); }
.bar__nav { display: flex; gap: 4px; }
.bar__nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.bar__nav a:hover, .bar__nav a.is-current { background: var(--sky); color: var(--sea); }
.bar__cta { min-height: 46px; }
.bar__menu {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font: 600 0.9375rem/1 var(--f-text);
  cursor: pointer;
}
.bar__menu-lines { display: grid; gap: 5px; width: 18px; }
.bar__menu-lines span { height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--bar-h) + 64px) 0 clamp(72px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: var(--t-display); font-weight: 340; line-height: 0.92; letter-spacing: -0.03em; margin-bottom: 28px; }
.mask { display: block; overflow: clip; padding: 0.16em 0 0.08em; margin: -0.16em 0 -0.08em; }
.mask > span { display: inline-block; }
.hero__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 36ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); color: var(--muted); }
.hero__facts li { display: flex; align-items: flex-start; gap: 10px; }
.hero__facts li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.5em; margin-top: calc((1lh - 8px) / 2); border-radius: 50%; background: var(--sea); }

.hero__media { position: relative; }
.hero__photo { position: relative; overflow: clip; border-radius: var(--r-lg); background: var(--sky); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }
.rating-card {
  position: absolute;
  left: clamp(-40px, -3vw, -16px);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 22px 44px -20px rgba(19, 38, 58, 0.45);
  transition: translate 300ms var(--ease-out), box-shadow 300ms ease;
}
.rating-card:hover { translate: 0 -4px; box-shadow: 0 28px 50px -20px rgba(19, 38, 58, 0.5); }
.rating-card__score { font-family: var(--f-display); font-size: 2.4rem; font-weight: 450; line-height: 1; }
.rating-card__body { display: grid; line-height: 1.25; }
.rating-card__label { font-size: 0.875rem; color: var(--muted); }

/* ---------- La consulta ---------- */
.intro { background: #fff; padding: var(--section) 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text p { max-width: 54ch; font-size: var(--t-lead); line-height: 1.55; }
.intro__first { color: var(--ink); font-weight: 560; }
.intro__text p:not(.intro__first) { color: var(--muted); }
.who { background: var(--sky); border-radius: var(--r-lg); padding: 28px; }
.who__title { font-family: var(--f-display); font-size: 1.6rem; margin: 4px 8px 14px; }
.who__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px 16px 16px;
  border-radius: 16px;
  font-weight: 560;
  text-decoration: none;
  transition: background-color 200ms ease;
}
.who__row + .who__row { margin-top: 4px; }
.who__row:hover { background: #fff; }
.who__go {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5B87' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: translate 300ms var(--ease-out), background-color 200ms ease;
}
.who__row:hover .who__go { translate: 4px 0; background-color: var(--sky); }

/* ---------- Statement ---------- */
.statement { background: var(--sea); color: #fff; padding: clamp(96px, 11vw, 168px) 0; }
.statement__text {
  margin: 0;
  max-width: 21ch;
  font-family: var(--f-display);
  font-size: clamp(2rem, 1rem + 3.6vw, 4.25rem);
  font-weight: 330;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.statement .w { transition: opacity 300ms ease; }

/* ---------- Consultas ---------- */
.consultas { background: var(--sky); padding: var(--section) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { font-size: var(--t-lead); color: var(--muted); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }
.section-head--row > div { max-width: 60ch; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: clip;
  transition: translate 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.card:hover { translate: 0 -6px; box-shadow: var(--lift); }
.card__fig { position: relative; overflow: clip; }
.card__fig img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: scale 900ms var(--ease-out); }
#padres-de-bebes .card__fig img { object-position: 50% 30%; }
#enfermedad .card__fig img { object-position: 50% 12%; }
.card:hover .card__fig img { scale: 1.04; }
.card__fig figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 50, 78, 0.72);
  color: #fff;
  font-size: 0.8125rem;
}
.card__body { padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card__body p { color: var(--muted); }
.card__lead { margin: 6px 0 10px; font-size: var(--t-small); font-weight: 650; color: var(--ink) !important; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; line-height: 1.45; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.12em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5B87' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.card .link-go { margin-top: auto; }
.card--wide { grid-column: 1 / -1; flex-direction: row; }
.card--wide .card__fig { flex: 0 0 34%; }
.card--wide .card__fig img { height: 100%; aspect-ratio: auto; min-height: 240px; max-height: 340px; object-position: 50% 30%; }
.card--wide .card__body { justify-content: center; max-width: 60ch; }

/* ---------- Opiniones ---------- */
.reviews { background: var(--paper); padding: var(--section) 0; overflow: clip; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.reviews__lead { color: var(--muted); font-size: var(--t-lead); max-width: 40ch; margin: 0; }
.reviews__summary { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.reviews__score { display: flex; align-items: center; gap: 14px; margin: 0; }
.reviews__num { font-family: var(--f-display); font-size: clamp(3.6rem, 2.6rem + 3vw, 5.5rem); font-weight: 330; line-height: 0.9; letter-spacing: -0.03em; }
.stars--lg svg { width: 24px; height: 24px; }

.marquee {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 16px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.marquee::-webkit-scrollbar { display: none; }
.scrub {
  position: relative;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--sky-2);
  cursor: pointer;
  touch-action: none;
}
.scrub::before { content: ""; position: absolute; inset: -17px 0; }
.scrub__thumb {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 30%;
  border-radius: 999px;
  background: var(--sea);
  cursor: grab;
  transition: background-color 180ms ease, height 180ms ease, top 180ms ease;
}
.scrub:hover .scrub__thumb, .scrub.is-dragging .scrub__thumb { background: var(--sea-deep); }
.scrub.is-dragging .scrub__thumb { cursor: grabbing; }
.marquee:focus-visible { outline-offset: -2px; }
.marquee__track { display: flex; width: max-content; padding-left: max(0px, calc((100% - 1280px) / 2)); }
.marquee__group { display: flex; align-items: flex-start; gap: 20px; padding: 0 var(--pad); }
.review {
  width: min(400px, 80vw);
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(19, 38, 58, 0.06), 0 14px 30px -22px rgba(19, 38, 58, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-family: var(--f-display); font-size: 1.125rem; line-height: 1.5; color: var(--ink); }
.review figcaption { margin-top: auto; font-size: var(--t-small); color: var(--muted); }
.review figcaption strong { color: var(--ink); font-weight: 650; }

/* ---------- Para profesionales ---------- */
.pro { background: #fff; padding: var(--section) 0; }
.pro__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pro__photo, .about__photo { overflow: clip; border-radius: var(--r-lg); background: var(--sky); }
.pro__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 35%; }
.pro__text p { max-width: 56ch; color: var(--muted); }
.pro__first { color: var(--ink) !important; font-weight: 600; font-size: var(--t-lead); }

/* ---------- Publicaciones ---------- */
.pubs { background: var(--sky); padding: var(--section) 0; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
.filter button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 600 var(--t-small)/1 var(--f-text);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, scale 140ms var(--ease-out);
}
.filter button:hover { background: var(--sky-2); }
.filter button:active { scale: 0.97; }
.filter button[aria-pressed="true"] { background: var(--sea); color: #fff; }
.articles { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.articles li[hidden] { display: none; }
.article {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-md);
  background: #fff;
  text-decoration: none;
  transition: translate 380ms var(--ease-out), box-shadow 380ms var(--ease-out);
}
.article:hover { translate: 0 -4px; box-shadow: var(--lift); }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; }
.tag--bebes { background: #FBE3E5; color: #9C1F2C; }
.tag--ninos { background: var(--sky); color: var(--sea); }
.tag--adolescentes { background: #FBF0D2; color: #7A5410; }
.article__title { font-family: var(--f-display); font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); line-height: 1.25; letter-spacing: -0.01em; }
.article__more { margin-top: auto; font-size: var(--t-small); font-weight: 650; color: var(--sea); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: rgba(29, 91, 135, 0.35); }
.article:hover .article__more { text-decoration-color: var(--sea); }
.articles li.is-shown { animation: row-in 520ms var(--ease-out) both; animation-delay: calc(var(--r, 0) * 70ms); }
@keyframes row-in { from { opacity: 0; translate: 0 14px; } }
.pubs__more { margin: 0; font-weight: 600; }

/* ---------- Sobre mí ---------- */
.about { background: var(--paper); padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__text > p { max-width: 56ch; color: var(--muted); }
.about__first { color: var(--ink) !important; font-weight: 600; font-size: var(--t-lead); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.cv { margin: 32px 0 0; display: grid; gap: 10px; }
.cv div { display: grid; gap: 2px; padding: 16px 20px; border-radius: 16px; background: #fff; }
.cv dt { font-weight: 650; }
.cv dd { margin: 0; color: var(--muted); font-size: var(--t-small); }

/* ---------- FAQ ---------- */
.faq { background: #fff; padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head p { color: var(--muted); font-size: var(--t-lead); }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 18px; background: var(--paper); transition: background-color 200ms ease; }
.qa[open] { background: var(--sky); }
.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 20px 24px;
  cursor: pointer;
  font-weight: 620;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313263A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: rotate 320ms var(--ease-out);
}
.qa[open] summary::after { rotate: 45deg; }
.qa__a { overflow: clip; }
.qa__a p { margin: 0; padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Contacto ---------- */
.contact { background: var(--sea); color: #fff; padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info > p { color: rgba(255, 255, 255, 0.84); font-size: var(--t-lead); max-width: 40ch; }
.channels { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 10px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background-color 200ms ease, translate 300ms var(--ease-out);
}
a.channel:hover { background: rgba(255, 255, 255, 0.16); translate: 4px 0; }
.channel__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sea); flex: none; }
.channel > span:last-child { display: grid; min-width: 0; }
.channel__label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.72); }
.channel__value { font-weight: 620; overflow-wrap: anywhere; }

.map { position: relative; border-radius: var(--r-md); overflow: clip; background: var(--sea-2); min-height: 260px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.map__facade { padding: 28px; display: grid; justify-items: start; gap: 6px; }
.map__title { margin: 0; font-family: var(--f-display); font-size: 1.6rem; }
.map__text { margin: 0 0 12px; color: rgba(255, 255, 255, 0.8); }
.map__note { margin: 10px 0 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }

.form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(5, 20, 35, 0.6);
}
.form__title { margin: 0 0 4px; font-family: var(--f-display); font-size: 1.75rem; line-height: 1.15; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* taste-skill-ignore: hidden spam trap */
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.field label { font-size: var(--t-small); font-weight: 620; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #D5DFE7;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2313263A' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); background-color: #fff; box-shadow: 0 0 0 4px rgba(29, 91, 135, 0.15); }
[aria-invalid="true"] { border-color: var(--accent) !important; }
.field__msg { margin: 0; font-size: var(--t-small); color: var(--accent); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sea); }
.check .field__msg { grid-column: 2; }
.form__note { margin: 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.foot { background: var(--sea-deep); color: rgba(255, 255, 255, 0.82); padding: clamp(64px, 8vw, 104px) 0 40px; font-size: var(--t-small); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.foot__name { margin: 0 0 8px; font-family: var(--f-display); font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1; color: #fff; letter-spacing: -0.02em; }
.foot__brand p:not(.foot__name) { max-width: 34ch; margin-bottom: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__h { margin: 0 0 6px; font-weight: 700; color: #fff; }
.foot a { text-decoration: none; }
.foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.22em; }
.foot__col a, .foot__col span { overflow-wrap: anywhere; }
.foot__links a { padding-block: 10px; margin-block: -10px; }
.foot__bottom { display: grid; gap: 6px; padding-top: 28px; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.14); }
.foot__bottom p { margin: 0; }
.foot__links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__links a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(255, 255, 255, 0.35); }
.foot__links a:hover { text-decoration-color: #fff; color: #fff; }
.foot__made { margin-left: auto; }
.foot__credits { color: rgba(255, 255, 255, 0.62); }

/* ---------- Floating WhatsApp ---------- */
.wa {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 45;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  height: 60px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(10, 80, 40, 0.55);
  transition: box-shadow 220ms ease, translate 260ms var(--ease-out);
}
.wa svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 650; font-size: 0.9375rem; transition: max-width 420ms var(--ease-out), margin 420ms var(--ease-out); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 240px; margin-right: 10px; margin-left: 6px; }
.wa:hover { translate: 0 -2px; box-shadow: 0 18px 34px -10px rgba(10, 80, 40, 0.6); }

/* ---------- Cookie notice ---------- */
.cookies {
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 46;
  max-width: 380px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: 0 24px 50px -20px rgba(19, 38, 58, 0.45), 0 0 0 1px rgba(19, 38, 58, 0.06);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 12px; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 22px var(--pad) 40px; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__close { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--sky); color: var(--ink); font: 600 0.9375rem/1 var(--f-text); cursor: pointer; }
.menu nav { display: flex; flex-direction: column; gap: 2px; margin: clamp(16px, 5vh, 40px) 0 clamp(16px, 4vh, 32px); }
.menu nav a { font-family: var(--f-display); font-size: clamp(1.6rem, min(8vw, 7vh), 2.75rem); line-height: 1.2; text-decoration: none; letter-spacing: -0.02em; }
.menu__tel { margin-top: 18px; text-align: center; font-weight: 650; }
.menu__tel a { text-decoration: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { translate: 0 108%; animation: rise 950ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
  .js .hero [data-load] { opacity: 0; translate: 0 14px; animation: fade-up 700ms var(--ease-out) forwards; animation-delay: var(--d, 400ms); }
  .js .hero [data-open] { clip-path: inset(12% 10% 12% 10% round var(--r-lg)); animation: open 1200ms var(--ease-expo) 80ms forwards; }
  .js .hero [data-open] img { scale: 1.12; animation: settle 1500ms var(--ease-expo) 80ms forwards; }

  .js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 760ms var(--ease-out), translate 1000ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; translate: 0 0; }
  .js .card[data-reveal].is-in, .js .article { transition-property: opacity, translate, box-shadow; }
  .js [data-reveal="open"] { opacity: 1; translate: 0 0; clip-path: inset(0 0 100% 0 round var(--r-lg)); transition: clip-path 1300ms var(--ease-in-out); }
  .js [data-reveal="open"] img { scale: 1.12; transition: scale 1700ms var(--ease-expo); }
  .js [data-reveal="open"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
  .js [data-reveal="open"].is-in img { scale: 1; }
  .js [data-reveal-rows] > * { opacity: 0; translate: 0 16px; transition: opacity 600ms var(--ease-out), translate 760ms var(--ease-out); transition-delay: calc(var(--r, 0) * 70ms); }
  .js [data-reveal-rows].is-in > * { opacity: 1; translate: 0 0; }
  .js .statement [data-ink] .w { opacity: 0.32; }
  .js .statement [data-ink] .w.on { opacity: 1; }
  .js .wa { scale: 0; animation: pop 620ms var(--ease-expo) 1400ms forwards; }
  .js .menu.is-opening { animation: menu-open 460ms var(--ease-out) both; }
  .js [data-parallax] img { translate: 0 var(--py, 0px); }
}
@keyframes rise { to { translate: 0 0; } }
@keyframes fade-up { to { opacity: 1; translate: 0 0; } }
@keyframes open { to { clip-path: inset(0 0 0 0 round var(--r-lg)); } }
@keyframes settle { to { scale: 1; } }
@keyframes pop { to { scale: 1; } }
@keyframes menu-open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.card__fig, .pro__photo, .about__photo, .hero__photo { overflow: clip; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .bar__nav { display: none; }
  .bar__menu { display: inline-flex; }
}
@media (max-width: 900px) {
  :root { --bar-h: 64px; }
  .hero { padding-top: calc(var(--bar-h) + 40px); }
  .intro__grid, .reviews__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .faq__head { position: static; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
}
/* Tablettes et téléphones en paysage : texte et photo restent côte à côte */
@media (min-width: 641px) and (max-width: 900px) {
  .hero__grid { gap: 32px; }
  .hero__actions .btn { padding-inline: 22px; }
  .card--wide .card__fig { flex-basis: 38%; }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 540px) {
  .hero { padding-top: calc(var(--bar-h) + 24px); }
  .hero__photo img, .pro__photo img, .about__photo img { max-height: calc(100svh - var(--bar-h) - 40px); }
}
@media (max-width: 640px) {
  .hero__grid, .pro__grid, .about__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; order: -1; }
  .hero__photo img { aspect-ratio: 5 / 4; object-position: 50% 30%; }
  .rating-card { left: 12px; bottom: 16px; }
  .cards, .articles { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; }
  .card--wide .card__fig { flex: none; }
  .card--wide .card__fig img { min-height: 0; aspect-ratio: 16 / 11; object-position: 50% 42%; }
  .about__photo { order: -1; max-width: 520px; }
  .pro__photo { max-width: 520px; }
}
/* Écrans tactiles : liens du pied de page plus faciles à toucher */
@media (max-width: 900px), (pointer: coarse) {
  .foot__col { gap: 0; }
  .foot__col > a, .foot__col > span { padding-block: 9px; }
  .foot__h { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .bar { padding: 8px 8px 0; }
  .bar__inner { padding: 0 8px 0 16px; gap: 10px; }
  .bar__role { display: none; }
  .bar__name { font-size: 1.25rem; }
  .bar__cta { display: none; }
  .bar__menu-label { display: none; }
  .bar__menu { padding: 0 14px; }
  .hero__actions .btn { width: 100%; }
  .who { padding: 18px; }
  .wa { height: 56px; padding: 0 13px; }
  .wa svg { width: 30px; height: 30px; }
  .cookies { right: 84px; max-width: none; padding: 14px; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .map iframe { height: 300px; }
}

@media (max-width: 420px) {
  /* bandeau cookies en pleine largeur, au-dessus du bouton WhatsApp */
  .cookies { left: 12px; right: 12px; bottom: 84px; }
}
@media (max-width: 360px) {
  .hero__actions .btn--lg { padding-inline: 16px; font-size: 0.9375rem; }
  .rating-card { gap: 10px; padding: 10px 14px 10px 12px; }
  .rating-card__score { font-size: 1.9rem; }
}

@media print {
  .bar, .wa, .cookies, .menu { display: none !important; }
}

/* ---------- Páginas interiores ---------- */
.page { max-width: 46rem; margin: 0 auto; padding: 32px var(--pad) 120px; }
.page__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: clamp(56px, 8vw, 104px); }
.page__brand { font-family: var(--f-display); font-size: 1.5rem; text-decoration: none; letter-spacing: -0.015em; }
.page__top a { padding-block: 10px; margin-block: -10px; }
.page h1 { font-size: var(--t-h2); font-weight: 380; margin-bottom: 36px; }
.page h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.page p, .page li { color: var(--muted); overflow-wrap: break-word; }
.page a { overflow-wrap: anywhere; }
.page ul { padding-left: 1.2em; }
.page--center { min-height: 100vh; /* taste-skill-ignore: fallback */ min-height: 100svh; display: flex; flex-direction: column; }
.page--center .page__main { margin: auto 0; }
