/* ============================================================
   Céline Martineau — styles.css
   Charte : #EAA68B terracotta · #363F4B navy · Marcellus / Instrument Sans
   Direction : autorité calme — minimalisme raffiné
   ============================================================ */

/* === TOKENS ============================================== */
:root {
  --primary:  #EAA68B;
  --navy:     #363F4B;
  --text:     #414B5A;
  --bg:       #FAFAF8;
  --surface:  #FFFFFF;
  --surface-alt: #EAF5F9;
  --border:   #E8E4DF;
  --muted:    #8A9099;

  --font-display: "Marcellus", Georgia, serif;
  --font-slab:    "Roboto Slab", Georgia, serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
  --font-ui:      "Roboto", system-ui, sans-serif;

  --gutter:    clamp(1.5rem, 6vw, 6rem);
  --container: 1200px;
  --nav-h:     68px;

  /* Inline centering padding — full-bleed sections stay visually constrained */
  --pad-x: max(var(--gutter), calc((100% - var(--container)) / 2));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.875;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* === NAV ================================================= */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--gutter);
  background: var(--navy);
  overflow: visible;
}
.site-nav .brand {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500;
  text-decoration: none; color: #fff; margin-right: auto; letter-spacing: .03em;
  transition: opacity .2s;
}
.site-nav .brand:hover { opacity: .7; }

.site-nav nav { display: flex; gap: 2rem; align-items: center; }
.site-nav nav a {
  font-family: var(--font-ui); font-size: .75rem; font-weight: 500;
  text-decoration: none; color: rgba(255,255,255,.58);
  letter-spacing: .07em; text-transform: uppercase;
  position: relative; transition: color .2s;
}
.site-nav nav a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.site-nav nav a:hover,
.site-nav nav a.active         { color: #fff; }
.site-nav nav a:hover::after,
.site-nav nav a.active::after  { transform: scaleX(1); }

.site-nav .cta {
  font-family: var(--font-ui); font-weight: 500; font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--primary); color: var(--navy);
  text-decoration: none; padding: .5rem 1.375rem; border-radius: 999px;
  transition: opacity .2s, transform .2s;
}
.site-nav .cta:hover { opacity: .88; transform: translateY(-1px); }

/* --- Burger ------------------------------------------ */
.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: .375rem; margin-left: .5rem;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,.75); border-radius: 2px;
  transition: transform .25s ease, opacity .2s, background .2s;
}
.burger:hover span { background: #fff; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* === HERO ================================================ */
.hero {
  background: var(--navy);
  padding: 0 0 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 42%;
  grid-template-rows: 1fr;
  column-gap: clamp(2rem, 3vw, 3.5rem);
  height: clamp(540px, 78vh, 680px);
  overflow: hidden;
}

/* Grid placement */
.hero .portrait  { grid-column: 2; grid-row: 1; align-self: stretch; }
.hero-text       { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 5rem 0; }

/* Eyebrow above h1 */
.hero h1::before {
  content: "Psychologue & superviseure EMDR à Rouen (76)";
  display: block;
  font-family: var(--font-ui); font-size: .6875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .75rem;
  animation: fadeUp .6s ease both .1s;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 500; line-height: 1.05;
  color: #fff; margin: 0;
  animation: fadeUp .6s ease both .2s;
}
.hero-quals {
  list-style: none; padding: 0;
  margin: 1.125rem 0 1.625rem; max-width: 46ch;
  display: flex; flex-direction: column; gap: .5rem;
  animation: fadeUp .6s ease both .3s;
}
.hero-quals li {
  position: relative; padding-left: 1.1rem;
  font-size: .9375rem; line-height: 1.5;
  color: rgba(255,255,255,.72);
}
.hero-quals li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: .75rem; margin: 0;
  animation: fadeUp .6s ease both .4s;
}
.hero-cta a {
  font-family: var(--font-ui); font-weight: 500; font-size: .8125rem;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; padding: .625rem 1.625rem; border-radius: 999px;
  transition: opacity .2s, transform .2s;
}
.hero-cta a:first-child {
  background: var(--primary); color: var(--navy);
}
.hero-cta a:last-child {
  background: transparent; color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.3);
}
.hero-cta a:hover { opacity: .85; transform: translateY(-1px); }

.hero .location {
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .05em;
  color: rgba(255,255,255,.35); margin: 1rem 0 0;
  animation: fadeUp .6s ease both .5s;
}

.hero .portrait {
  object-fit: cover; object-position: center 18%;
  border-radius: 20px 0 0 20px;
  width: 100%; height: 100%;
  min-height: 0; max-height: none;
  border: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 13%);
  mask-image: linear-gradient(to right, transparent 0%, #000 13%);
  animation: fadeUp .6s ease both .15s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === SECTIONS ============================================ */
.section {
  padding: 5.5rem var(--pad-x);
  background: var(--surface);
}
/* Section backgrounds — rhythmic alternation */
#presentation   { background: var(--surface-alt); }
#psychotherapie { background: var(--bg); }
#supervisions   { background: var(--surface-alt); }
#contact        { background: var(--navy); }

/* Section divider */
.section + .section,
.section + .audience-separator,
.audience-separator + .section {
  border-top: 1px solid var(--border);
}
#psychotherapie { border-top: 1px solid var(--border); }
#contact        { border-top: none; }

/* --- Headings ---------------------------------------- */
/* Shared eyebrow style */
.section h2::before {
  display: block;
  font-family: var(--font-ui); font-size: .6875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .625rem; line-height: 1;
}
/* Per-section eyebrows */
#presentation h2::before  { content: "À propos"; }
#psychotherapie h2::before { content: "Thérapie"; }
#supervisions h2::before  { content: "Pour les professionnels"; }
#contact h2::before       { content: "Contact"; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500; line-height: 1.1;
  color: var(--navy); margin: 0 0 2rem;
}
#contact h2 { color: #fff; }

.section h3 {
  font-family: var(--font-slab); font-size: 1.25rem; font-weight: 400;
  color: var(--navy); margin: 3rem 0 .875rem;
  padding-top: 2.5rem; border-top: 1px solid var(--border);
}
.section h4 {
  font-family: var(--font-slab); font-size: 1rem; font-weight: 500;
  color: var(--navy); margin: 2.5rem 0 .625rem;
}
.section p, .section li {
  font-size: 1rem; line-height: 1.875; color: var(--text); margin: 0 0 .875rem;
}
.section p:last-child { margin-bottom: 0; }
.section ul { padding-left: 1.375rem; margin: 0 0 1rem; }
.section li { margin-bottom: .35rem; }
.section a  { color: var(--primary); text-decoration: none; transition: opacity .2s; }
.section a:hover { opacity: .75; text-decoration: underline; }

/* Labels (POUR QUI / COMMENT) */
.label {
  display: block;
  font-family: var(--font-ui); font-size: .6875rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin: 1.75rem 0 .5rem;
}

/* === SECTION 2-COL LAYOUT (présentation + psycho) ==== */
.section-cols {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50 / 50 — texte · image */
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.col-photo {
  margin: 0;
}
.col-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
@media (max-width: 768px) {
  .section-cols {
    grid-template-columns: 1fr;
  }
  .col-photo {
    position: relative; top: auto;
    order: -1;
  }
  .col-photo img { aspect-ratio: 4 / 3; }
}

/* === BLOCKQUOTE ======================================= */
blockquote {
  margin: 0;
  padding: 1.375rem 1.625rem;
  border-left: 2px solid var(--primary);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.125rem; line-height: 1.55;
  color: var(--navy);
  background: rgba(234,166,139,.06);
  border-radius: 0 10px 10px 0;
}
/* Quote inside supervision card (Dr. Robin Logie) — symmetric vertical margins */
.super-card > blockquote { margin: 1.75rem 0; }

/* === CREDENTIALS STRIP ================================ */
.credentials-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cred-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

/* === AUDIENCE SEPARATOR ============================== */
.audience-separator {
  background: var(--primary);
  padding: 1.5rem var(--pad-x);
  text-align: center;
  border-top: none !important;
}
.audience-separator span {
  font-family: var(--font-display); font-size: 1.25rem;
  color: #fff; letter-spacing: .01em;
}
/* Inline variant — breaks out of section --pad-x to stay full-bleed */
.audience-separator--inline {
  margin: 3rem calc(-1 * var(--pad-x)) 0;
}
.audience-separator--inline + h3 {
  border-top: none; padding-top: 0; margin-top: 2.5rem;
}

/* === PSYCHO INLINE PHOTOS =========================== */
.psycho-photo {
  float: right;
  clear: right;
  width: min(520px, 48%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin: .25rem 0 2rem 2.75rem;
  display: block;
}
#psychotherapie::after { content: ''; display: table; clear: both; }
@media (max-width: 680px) {
  .psycho-photo { float: none; width: 100%; margin: 1.5rem 0; }
}

/* === TWO-COLUMN LIST ================================= */
.two-col-list {
  columns: 2;
  column-gap: 2.5rem;
}
.two-col-list li {
  break-inside: avoid;
}
@media (max-width: 580px) {
  .two-col-list { columns: 1; }
}

/* === SPECIALTY CARDS (spécialités EMDR) ============= */
.specialty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
  clear: both;
}
.specialty-card {
  background: var(--surface-alt);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  padding: 1.5rem 1.5rem 1.375rem;
}
.specialty-card h4 {
  font-family: var(--font-display);
  font-size: 1.025rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 .625rem;
}
.specialty-card p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 780px) {
  .specialty-cards { grid-template-columns: 1fr; gap: .875rem; }
}

/* === PHOTO BREAK (avant contact) ==================== */
.photo-break {
  height: 280px;
  background-image: url('_docs/coutainville_coucher_soleil_1.jpeg');
  background-size: cover;
  background-position: center 55%;
}
@media (max-width: 680px) {
  .supervision-photo { float: none; width: 100%; margin: 0 0 2rem; }
  .photo-break { height: 200px; }
}

/* === SUPERVISIONS — fiche sidebars =================== */
.supervision {
  margin: 0;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.supervision:first-of-type { padding-top: 0; }
.supervision:last-of-type  { border-bottom: none; }

/* Fiches inside articles: floated right */
.supervision > aside.fiche {
  float: right; clear: right;
  width: clamp(200px, 34%, 260px);
  margin: 0 0 1.5rem 2.25rem;
  shape-outside: margin-box;
}
.supervision::after { content: ''; display: table; clear: both; }

/* Standalone fiche directly in section */
#supervisions > aside.fiche {
  float: none;
  max-width: 360px;
  margin: 2rem 0 2.5rem auto;
  display: block;
}

/* Fiche card style */
.fiche {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 10px;
  padding: 1.375rem 1.5rem;
}
.fiche p {
  margin: .3rem 0 !important;
  font-size: .875rem !important;
  line-height: 1.55 !important;
  color: var(--text) !important;
}
.fiche p:first-child {
  font-family: var(--font-ui);
  font-weight: 500; font-size: .6875rem !important;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted) !important;
  margin-bottom: .625rem !important;
}

/* === ACCORDÉONS — flat minimal ======================== */
details {
  border: none; border-radius: 0; background: transparent;
  border-bottom: 1px solid var(--border); padding: 0;
}
details:first-of-type { border-top: 1px solid var(--border); }

summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; padding: 1.125rem 0;
  font-family: var(--font-body); font-weight: 600; font-size: .9375rem;
  color: var(--navy); list-style: none; gap: 1rem;
  transition: color .15s;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--primary); }

/* Chevron SVG */
summary::after {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9099' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform .25s ease, background-image .15s;
}
summary:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAA68B' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
details[open] > summary::after { transform: rotate(180deg); }
details[open] > summary { color: var(--navy); }

/* Remove ::before trick from old CSS */
summary::before { display: none; }

/* Content area */
details > p,
details > ul {
  padding-bottom: 1.25rem;
  font-size: .9375rem !important; line-height: 1.7 !important;
  color: var(--text) !important; margin-top: 0 !important;
  animation: accordionOpen .2s ease;
}
details > p:last-child,
details > ul:last-child { padding-bottom: 1.375rem; }

/* === SUPERVISIONS — refonte en blocs ================= */
.super-intro {
  max-width: 760px;
  margin: 0 0 3.5rem;
}
.super-intro p {
  font-size: 1.0625rem;
  color: var(--text);
}

.super-group { margin-top: 3.5rem; }
.super-group:first-of-type { margin-top: 0; }

.super-group-head { margin-bottom: 1.75rem; }
.super-group-eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.super-group-head h3 {
  font-family: var(--font-slab);
  font-size: clamp(1.6rem, 2.9vw, 2.2rem);
  font-weight: 500; letter-spacing: .005em;
  color: var(--navy);
  margin: 0; padding: 0; border: none;
  text-transform: none;
  display: flex; align-items: center; gap: .7rem;
}
.super-group-icon {
  width: 1.45em; height: 1.45em; flex-shrink: 0;
  color: var(--primary);
}

.super-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card — overrides base .supervision */
.super-card.supervision {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: 0 1px 2px rgba(54,63,75,.04), 0 14px 30px -20px rgba(54,63,75,.25);
}

.super-card-head {
  display: flex; align-items: baseline; gap: 1.125rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.super-card-num {
  font-family: var(--font-display);
  font-size: 1.75rem; line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
}
.super-card-head h4 {
  font-family: var(--font-slab);
  font-size: 1.0625rem; font-weight: 500;
  color: var(--navy);
  margin: 0;
}

/* Fiche footer band inside a card (B1 / B2) */
.super-card > aside.fiche.fiche-footer {
  float: none; clear: both;
  width: auto;
  margin: 1.75rem 0 0;
  background: var(--surface-alt);
  border: none;
  border-top: 2px solid var(--primary);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .55rem 2.25rem;
  padding: 1.5rem 1.75rem;
}
.super-card > aside.fiche.fiche-footer p { margin: 0 !important; }
.super-card > aside.fiche.fiche-footer p:first-child { grid-column: 1 / -1; }

/* Fiche bar — group-level practical info (individuel) */
.fiche-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .55rem 2.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 0;
}
.fiche-bar-title {
  grid-column: 1 / -1;
  font-family: var(--font-ui) !important;
  font-weight: 500 !important;
  font-size: .6875rem !important;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted) !important;
  margin: 0 0 .25rem !important;
}
/* fiche--plain: don't treat first content <p> as a header */
.fiche-bar.fiche--plain p {
  margin: 0 !important;
}

@media (max-width: 680px) {
  .super-card-head { gap: .875rem; }
  .fiche-bar { padding: 1.375rem 1.375rem; }
}

@keyframes accordionOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === CONTACT ========================================== */
#contact h2::before { color: rgba(234,166,139,.9); }
#contact h2  { color: #fff; }

/* Contact list */
.contact-list {
  list-style: none; padding: 0;
  margin: 2.25rem 0 2.5rem;
  max-width: 580px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-label {
  display: block;
  font-family: var(--font-ui); font-size: .625rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .3rem;
}
.contact-value {
  font-family: var(--font-body); font-size: .9375rem;
  color: rgba(255,255,255,.85) !important;
  text-decoration: none; transition: color .2s;
}
a.contact-value:hover { color: #fff !important; }

.contact-cta {
  display: flex; flex-wrap: wrap; gap: .875rem; margin: 2rem 0 0;
}
.contact-cta a {
  font-family: var(--font-ui); font-weight: 500; font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none !important;
  padding: .625rem 1.625rem; border-radius: 999px;
  transition: opacity .2s, transform .2s;
  opacity: 1 !important;
}
.contact-cta a:first-child {
  background: var(--primary); color: var(--navy) !important;
}
.contact-cta a:last-child {
  background: transparent; color: rgba(255,255,255,.75) !important;
  border: 1px solid rgba(255,255,255,.3);
}
.contact-cta a:hover { opacity: .85 !important; transform: translateY(-1px); }

/* Contact layout — coordonnées 2/3 · carte 1/3 */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
  margin-top: 2.25rem;
}
.contact-main { min-width: 0; }
.contact-main .contact-list { margin-top: 0; }

/* Contact map — fills its 1/3 column */
.contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { min-height: 260px; }
}

/* === FOOTER =========================================== */
.site-footer {
  background: #2B3340;
  padding: 2.5rem var(--pad-x);
  text-align: center;
  font-family: var(--font-body); font-size: .8125rem;
  color: rgba(255,255,255,.38);
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer p  { margin: .3rem 0; }
.site-footer a  { color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: rgba(255,255,255,.7); }

/* === MOBILE =========================================== */
@media (max-width: 768px) {
  .burger { display: flex; }
  .site-nav .cta { display: none; } /* CTA in nav on mobile */

  .site-nav nav {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(calc(-100% - 4px));
    visibility: hidden;
    transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear .3s;
    z-index: 150;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
  }
  .site-nav nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
  }
  .site-nav nav a {
    padding: .875rem var(--gutter);
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .875rem; text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.65);
  }
  .site-nav nav a:last-child { border-bottom: none; }
  .site-nav nav a::after { display: none; }
}

@media (max-width: 680px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0 0 3rem;
    min-height: auto;
    overflow: visible;
  }
  .hero .portrait {
    grid-column: 1; grid-row: 1;
    width: 100%; min-height: 340px; max-height: 420px;
    object-position: center 30%;
    border-radius: 0 0 20px 20px;
    -webkit-mask-image: none; mask-image: none;
    margin-bottom: 0;
  }
  .hero-text {
    grid-column: 1; grid-row: 2;
    padding: 2rem var(--pad-x) 2rem;
  }

  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  #supervisions > aside.fiche { margin: 1.5rem 0; }
  .supervision > aside.fiche { float: none; width: 100%; margin: 1.5rem 0 0; }
}
