@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.woff") format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Italic-Variable.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --bg: #f6efe7;
  --bg-soft: #fbf7f2;
  --bg-warm: #efe2d5;
  --ink: #3a2a22;
  --ink-soft: #6b5a50;
  --terra: #b4533a;
  --terra-dark: #8f3f2a;
  --band: #bb5744;
  --line: #e2d3c4;
  --serif: "Lora", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-soft); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--band); color: #fff;
  box-shadow: 0 6px 20px -14px rgba(70, 25, 12, .6);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: block; line-height: 0; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.link { font-size: 14px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; color: rgba(255,255,255,.92); }
.nav a.link:hover, .nav a.link.on { color: #fff; border-bottom-color: #fff; }
.site-header .soc a { color: #fff; border-color: rgba(255,255,255,.75); }
.site-header .soc a:hover { background: #fff; color: var(--band); }
.site-header .btn { background: #fff; color: var(--terra); border-color: #fff; }
.site-header .btn:hover { background: var(--bg); border-color: var(--bg); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.soc { display: flex; gap: 12px; }
.soc a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; text-decoration: none;
  color: var(--terra); border: 1px solid var(--terra);
}
.soc a:hover { background: var(--terra); color: #fff; }

.btn {
  display: inline-block; background: var(--terra); color: #fff;
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid var(--terra);
  transition: background .2s, color .2s, transform .2s;
}
.btn::after { content: "  \2192"; }
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); transform: translateY(-2px); }
.btn.light { background: #fff; color: var(--terra); border-color: #fff; }
.btn.light:hover { background: var(--bg); }

/* Type */
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--terra); font-weight: 500; margin-bottom: 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(38px, 4.6vw, 60px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 22px; }
h3 { font-size: 24px; margin-bottom: 12px; }
em { color: var(--terra); font-style: italic; }

/* Hero : texte à gauche, photo à droite (photo jamais agrandie au delà de sa taille native) */
.hero { background: var(--bg); background-image: linear-gradient(100deg, rgba(255,255,255,0) 8%, rgba(255,236,218,.6) 22%, rgba(255,255,255,0) 36%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 470px; }
.hero-text { padding: 48px 48px 48px max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); align-self: center; }
.hero-text p.lead { font-size: 18px; color: var(--ink-soft); max-width: 29em; margin: 26px 0 34px; }
.hero { position: relative; }
.hero-text { position: relative; z-index: 2; }
/* La photo garde ses proportions (rien n'est coupé ni agrandi), calée à droite, avec un fondu vers le fond beige à gauche */
.hero-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-photo .ph {
  position: absolute; top: -48px; bottom: -48px; right: 0; aspect-ratio: 1613 / 975;
  background: center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 16%, rgba(0,0,0,.5) 34%, #000 52%);
          mask-image: linear-gradient(90deg, transparent 16%, rgba(0,0,0,.5) 34%, #000 52%);
}

/* About */
.about { background: var(--bg-soft); padding: 104px 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.about-text p { margin-bottom: 16px; color: var(--ink-soft); max-width: 36em; }
.about-text p.goal { color: var(--terra); font-weight: 500; }

.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage::before {
  content: ""; position: absolute; width: min(420px, 92%); aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  background: linear-gradient(150deg, #f3d6c5, #dfa68c);
}
.phone {
  position: relative; width: 272px; aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #4a3a33, #1f1612 45%, #3a2c25);
  box-shadow: inset 0 0 0 2px #5d4a40, inset 0 0 0 4px #17100d, 0 50px 70px -30px rgba(70, 30, 15, .65), 0 18px 30px -18px rgba(70,30,15,.5);
}
.side { position: absolute; width: 3px; background: #3a2c25; border-radius: 2px; }
.side.s1 { left: -3px; top: 17%; height: 22px; }
.side.s2 { left: -3px; top: 25%; height: 40px; }
.side.s3 { left: -3px; top: 33%; height: 40px; }
.side.s4 { right: -3px; top: 28%; height: 62px; }
.screen { position: relative; height: 100%; border-radius: 38px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.status { position: relative; height: 38px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0; font-size: 11px; background: #fff; z-index: 2; }
.island { position: absolute; left: 50%; top: 9px; width: 74px; height: 21px; margin-left: -37px; border-radius: 14px; background: #120c09; }
.bat { width: 20px; height: 9px; border: 1.5px solid #3a2a22; border-radius: 3px; position: relative; }
.bat::before { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: #3a2a22; border-radius: 1px; }
.app-top { flex: none; display: flex; justify-content: center; padding: 6px 0 8px; border-bottom: 1px solid #efe6de; background: #fff; z-index: 2; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.feed { flex: 1; overflow: hidden; position: relative; }
.feed-inner { display: block; }
.post { padding-bottom: 14px; }
.p-top { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 11.5px; line-height: 1; }
.p-top i { margin-left: auto; font-style: normal; letter-spacing: 1px; color: var(--ink-soft); }
.av { width: 26px; height: 26px; border-radius: 50%; background: var(--band); display: grid; place-items: center; flex: none; }
.av img { width: 18px; height: auto; }
.p-img { aspect-ratio: 1; background-size: cover; background-position: center; }
.p-act { display: flex; gap: 11px; align-items: center; padding: 9px 10px 4px; }
.p-act svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-act .sp { flex: 1; }
.p-cap { padding: 0 10px; font-size: 11px; line-height: 1.4; color: var(--ink-soft); }
.p-cap b { color: var(--ink); }
.tabbar { flex: none; display: flex; justify-content: space-around; align-items: center; height: 46px; padding-bottom: 8px; border-top: 1px solid #efe6de; background: #fff; z-index: 2; }
.tabbar svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .me { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(140deg, #e3a98e, var(--terra)); }
.glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 28%); z-index: 3; }
.bubble { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -12px rgba(70,30,15,.45); }
.bubble svg { width: 20px; height: 20px; fill: var(--terra); stroke: none; }
.bubble.b2 svg { fill: none; stroke: var(--terra); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bubble.b1 { top: 12%; left: 8%; }
.bubble.b2 { top: 30%; right: 4%; width: 54px; height: 54px; }
.bubble.b3 { bottom: 12%; left: 14%; width: 38px; height: 38px; }

/* Pourquoi freelance */
.why { background: var(--bg); padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.why h2 { margin: 0; }
.why-text { border-left: 2px solid var(--terra); padding-left: 36px; }
.why-text p + p { margin-top: 14px; }
.why-text p { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--ink); }

/* Services */
section.block { padding: 96px 0; }
.services { background: var(--bg-warm); }
.head.center { text-align: center; margin: 0 auto 56px; max-width: 700px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.card .pic { height: 210px; overflow: hidden; }
.card .pic i { display: block; height: 100%; background-size: cover; background-position: center; transition: transform .8s ease; }
.card:hover .pic i { transform: scale(1.06); }
.card .body { padding: 28px 30px 34px; }
.card .num { font-family: var(--serif); font-style: italic; color: var(--terra); margin-bottom: 6px; }
.card h3 { font-size: 25px; }
.card p { color: var(--ink-soft); margin-bottom: 10px; font-size: 16px; }

/* Formules */
.plans { background: var(--bg); }
.plans-note { color: var(--ink-soft); max-width: 34em; margin: 0 auto; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 40px 32px 36px; display: flex; flex-direction: column; text-align: center; }
.plan:nth-child(2) { background: #fff; }
.plan h3 { font-size: 27px; color: var(--terra); margin-bottom: 4px; }
.plan .acc { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.plan .pour { color: var(--ink-soft); font-size: 15.5px; min-height: 7.2em; }
.plan .price { font-family: var(--serif); font-size: 21px; color: var(--ink); margin: 18px 0 14px; }
.plan ul { list-style: none; text-align: left; margin: 0 0 28px; flex: 1; }
.plan li { padding: 11px 0 11px 28px; border-top: 1px solid var(--line); font-size: 15.5px; position: relative; color: var(--ink); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--terra); border-bottom: 2px solid var(--terra); transform: rotate(-45deg); }
.plan .btn { align-self: center; }
.plan.hot { background: var(--band); border-color: var(--band); color: #fff; }
.plan.hot h3, .plan.hot .price, .plan.hot li { color: #fff; }
.plan.hot .acc, .plan.hot .pour { color: rgba(255,255,255,.85); }
.plan.hot li { border-top-color: rgba(255,255,255,.3); }
.plan.hot li::before { border-color: #fff; }

/* Logos */
.trust { background: var(--bg-soft); padding: 80px 0 24px; text-align: center; }
.trust .eyebrow { margin-bottom: 34px; }
.names { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 28px; max-width: 920px; margin: 0 auto; }
.names img { width: 100%; height: 116px; object-fit: contain; padding: 30px 8px; mix-blend-mode: multiply; }
.names img.box { padding: 6px 8px; }

/* References */
.refs { background: var(--bg-soft); }
.head { max-width: 640px; margin-bottom: 44px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
figure.quote { background: var(--bg); padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
figure.quote blockquote { font-family: var(--serif); font-size: 18px; line-height: 1.55; }
figure.quote blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: .6; color: var(--terra); margin-bottom: 10px; }
figure.quote figcaption { font-size: 14px; color: var(--ink-soft); }
figure.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; }
figure.quote figcaption a { color: var(--terra); text-decoration: none; border-bottom: 1px solid currentColor; }

/* Contact band */
.contact {
  position: relative; overflow: hidden; color: #fff; background: var(--band);
  background-image: url("images/contact-band-v2.jpg"); background-size: cover; background-position: right 50%;
}
.contact .wrap { min-height: 360px; display: flex; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.contact .inner { max-width: 520px; }
.contact .eyebrow { color: rgba(255,255,255,.85); margin-bottom: 14px; }
.contact h2 { color: #fff; font-size: clamp(40px, 5vw, 58px); margin-bottom: 16px; }
.contact p { color: rgba(255,255,255,.95); margin-bottom: 12px; }
.contact a:not(.btn) { color: #fff; }
.contact .btn { margin-top: 14px; }

/* Footer : bandeau terracotta avec logo */
.site-footer { background: var(--band); color: rgba(255,255,255,.9); padding: 52px 0 26px; font-size: 14px; text-align: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.foot-logo img { width: 210px; height: auto; }
.foot nav { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.site-footer .soc a { color: #fff; border-color: rgba(255,255,255,.75); }
.site-footer .soc a:hover { background: #fff; color: var(--band); }
.foot-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.foot-bottom a { text-decoration: underline; }

/* Legal */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 12px; }
.legal .note { color: var(--ink-soft); margin-bottom: 40px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal a { color: var(--terra); }

/* Mobile */
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav a.link, .soc { display: none; }
  .site-footer .soc { display: flex; }
  .site-header .wrap { min-height: 76px; }
  .brand img { height: 54px; }
  .site-header .btn { font-size: 11px; letter-spacing: .1em; padding: 13px 16px; white-space: nowrap; }
  .site-header .btn::after { content: " \2192"; }
  .brand { flex-shrink: 0; }
  .brand img { width: auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 300px; position: relative; inset: auto; }
  .hero-photo .ph { inset: -40px 0 -10px; aspect-ratio: auto !important; background-size: cover; background-position: 64% 0; -webkit-mask-image: none; mask-image: none; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(247,240,233,.85) 12%, rgba(247,240,233,.55) 24%, rgba(247,240,233,.25) 36%, rgba(247,240,233,.08) 46%, rgba(247,240,233,0) 56%), linear-gradient(90deg, var(--bg) 0%, rgba(247,240,233,0) 26%); }
  .hero-text { padding: 28px var(--gutter) 48px; }
  h1 { text-wrap: balance; }
  .why { padding: 56px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-text { padding-left: 22px; }
  .why-text p { font-size: 18px; }
  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage { min-height: 460px; }
  section.block { padding: 64px 0; }
  .cards, .quotes, .plan-grid { grid-template-columns: 1fr; }
  .plan .pour { min-height: 0; }
  .contact { background-image: none; animation: none !important; }
  .contact .wrap { min-height: 0; padding-top: 56px; padding-bottom: 250px; }
  .contact::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px;
    background: linear-gradient(180deg, var(--band) 0%, rgba(187,87,68,0) 42%), url("images/contact-band-v2.jpg") 92% 60% / cover no-repeat; }
  .names { grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
  .names img { height: 100px; padding: 26px 8px; }
  .names img.box { padding: 10px 8px; }
  .foot-bottom { justify-content: center; text-align: center; }
}

/* Animations : légères, sans script, désactivées si l'utilisateur le demande */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .hero-text > * { animation: fade-up .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-text > *:nth-child(2) { animation-delay: .08s; }
  .hero-text > *:nth-child(3) { animation-delay: .16s; }
  .hero-text > *:nth-child(4) { animation-delay: .24s; }
  @keyframes img-in { from { opacity: 0; } to { opacity: 1; } }
  .hero-photo { animation: img-in 1.3s ease both; }

  @supports (animation-timeline: view()) {
    @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 40%; }
    .cards .card:nth-child(2) { animation-range: entry 12% entry 47%; }
    .cards .card:nth-child(3) { animation-range: entry 20% entry 55%; }
    .plan-grid .plan:nth-child(2) { animation-range: entry 12% entry 47%; }
    .plan-grid .plan:nth-child(3) { animation-range: entry 20% entry 55%; }
    .quotes .quote:nth-child(2) { animation-range: entry 12% entry 47%; }
    .quotes .quote:nth-child(3) { animation-range: entry 20% entry 55%; }

    @keyframes drift-photo { from { transform: translateY(-4px); } to { transform: translateY(46px); } }
    .hero-photo .ph { animation: drift-photo linear both; animation-timeline: scroll(root); animation-range: 0 560px; }
    @media (max-width: 960px) {
      @keyframes drift-photo-m { from { transform: translateY(0) scale(1.02); } to { transform: translateY(40px) scale(1.02); } }
      .hero-photo .ph { animation-name: drift-photo-m; animation-range: 0 460px; }
    }

    @keyframes feed-scroll { from { transform: translateY(0); } to { transform: translateY(-330px); } }
    .feed-inner { animation: feed-scroll linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes float-a { from { transform: translateY(60px); } to { transform: translateY(-60px); } }
    @keyframes float-b { from { transform: translateY(110px); } to { transform: translateY(-110px); } }
    @keyframes float-c { from { transform: translateY(30px); } to { transform: translateY(-30px); } }
    .stage .phone { animation: float-c linear both; animation-timeline: view(); animation-range: cover; }
    .stage::before { animation: float-a linear both; animation-timeline: view(); animation-range: cover; }
    .bubble.b1 { animation: float-b linear both; animation-timeline: view(); animation-range: cover; }
    .bubble.b2 { animation: float-a linear both; animation-timeline: view(); animation-range: cover; }
    .bubble.b3 { animation: float-b linear both; animation-timeline: view(); animation-range: cover; }

    @keyframes pan-band { from { background-position: right 0%; } to { background-position: right 100%; } }
    .contact { animation: pan-band linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card .pic i { transition: none; } }

h1 strong { font-weight: 700; }
.legal h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 26px 0 8px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }

/* Cadre photo A propos */
.frame { position: relative; width: min(520px, 94%); margin: 0 auto; }
.frame::before { content: ""; position: absolute; top: -26px; left: -26px; width: 58%; height: 58%; background: #d5937a; }
.frame .pic { position: relative; aspect-ratio: 5 / 4; background: url("images/about-carnet-v2.jpg") 50% 50% / cover no-repeat, #e8cdb9; box-shadow: 0 28px 50px -28px rgba(70, 35, 20, .5); }
@media (max-width: 960px) { .frame { margin-left: 30px; width: calc(100% - 30px); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes pic-pan { from { background-position: 12% 15%; } to { background-position: 12% 85%; } }
    .frame .pic { background-size: auto 112%; animation: pic-pan linear both; animation-timeline: view(); animation-range: cover; }
  }
}

/* Texte mis en forme depuis Pages CMS */
.accent { color: var(--terra); }
.about-text ul, .why-text ul, .card .body ul, .legal ul { padding-left: 1.2em; margin-bottom: 12px; }
.about-text ol, .why-text ol, .card .body ol, .legal ol { padding-left: 1.4em; margin-bottom: 12px; }
.about-text li, .why-text li, .card .body li { margin-bottom: 6px; }

/* Écrans moyens : photo décalée vers la droite pour ne pas passer derrière le texte */
@media (min-width: 961px) and (max-width: 1280px) {
  .hero-photo .ph { right: -17vw; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .site-header .btn { font-size: 10px; letter-spacing: .05em; padding: 12px 12px; }
  .brand img { height: 46px; }
}

@media (max-width: 340px) {
  .site-header .btn { font-size: 9px; letter-spacing: .02em; padding: 11px 9px; }
  .site-header .btn::after { content: ""; }
  .brand img { height: 40px; }
}

/* Tablettes en portrait : la photo garde sa hauteur naturelle et la tete n'est pas coupee */
@media (min-width: 601px) and (max-width: 960px) {
  .hero-photo { height: 64vw; }
  .hero-photo .ph { inset: -28px 0 0; background-position: 64% 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @media (min-width: 601px) and (max-width: 960px) {
      @keyframes drift-photo-t { from { transform: translateY(0) scale(1); } to { transform: translateY(28px) scale(1); } }
      .hero-photo .ph { animation-name: drift-photo-t; animation-range: 0 460px; }
    }
  }
}
