/* Ambition Phoenix — feuille de style
   Couleurs reprises du logo, polices auto-hébergées (aucun appel à Google). */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brun: #2E1502;
  --brun-2: #4a2a10;
  --or: #865719;
  --orange: #F16708;
  --orange-fonce: #c94f00;
  --jaune: #FAC81F;
  --creme: #FEFAEF;
  --creme-2: #F7EEDA;
  --sable: #EFE2C6;
  --texte: #2E1502;
  --texte-doux: #5c4330;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --rayon: 14px;
  --ombre: 0 18px 40px -22px rgba(46, 21, 2, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; color: var(--brun); letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--orange-fonce); font-weight: 600; }

.wrap { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--creme2 { background: var(--creme-2); }
.section--brun { background: var(--brun); color: #f6ead2; }
.section--brun h2, .section--brun h3 { color: #fff7e6; }
.section--brun h2 em { color: var(--jaune); }
.section--brun .surtitre { color: var(--jaune); }
.section--brun .surtitre::before { background: var(--jaune); }

.surtitre {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--or); margin-bottom: 18px;
}
.surtitre::before { content: ""; width: 34px; height: 1px; background: var(--or); }
.chapo { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--texte-doux); max-width: 640px; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }
.tete-section { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.tete-section.centre { margin-left: auto; margin-right: auto; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 1.1rem; line-height: 1.2;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(241, 103, 8, .8); }
.btn--orange:hover { background: var(--orange-fonce); transform: translateY(-1px); }
.btn--ligne { border-color: var(--brun); color: var(--brun); background: transparent; }
.btn--ligne:hover { background: var(--brun); color: var(--creme); }
.section--brun .btn--ligne { border-color: #f6ead2; color: #f6ead2; }
.section--brun .btn--ligne:hover { background: #f6ead2; color: var(--brun); }
.btn svg { width: 18px; height: 18px; flex: none; }
.lien-fleche { font-weight: 700; color: var(--brun); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.lien-fleche:hover { color: var(--orange-fonce); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(254, 250, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(134, 87, 25, .18); }
.entete__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brun); }
.marque img { width: 64px; height: auto; mix-blend-mode: multiply; }
.marque__nom { display: flex; flex-direction: column; line-height: 1; }
.marque__nom b { font-family: var(--serif); font-size: 1.65rem; font-weight: 700; }
.marque__nom span { font-family: var(--serif); font-size: .95rem; letter-spacing: .32em; text-transform: uppercase; color: var(--or); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--brun); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .2s ease; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 20px; font-size: 1rem; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--brun); }
.burger svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid rgba(134, 87, 25, .25); padding: 8px var(--gouttiere) 24px;
    box-shadow: var(--ombre); display: none;
  }
  .nav.ouvert { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(134, 87, 25, .14); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; padding: 15px 22px; font-size: 1.1rem; }
  .marque img { width: 52px; }
  .marque__nom b { font-size: 1.4rem; }
}

/* Héros */
.heros { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.heros__grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.heros h1 { margin-bottom: 22px; }
.heros .chapo { margin-bottom: 30px; }
.preuves { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(134, 87, 25, .3); font-size: .98rem; color: var(--texte-doux); }
.preuves b { font-family: var(--serif); font-size: 1.6rem; color: var(--brun); display: block; line-height: 1.1; }
.arche { position: relative; }
.arche__cadre { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--ombre); background: var(--sable); }
.arche__cadre img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.arche::before { content: ""; position: absolute; inset: -14px -14px 24px 24px; border: 1px solid var(--or); border-radius: 999px 999px 22px 22px; z-index: -1; }
.arche__badge {
  position: absolute; left: -22px; bottom: 34px; background: var(--creme); border: 1px solid rgba(134, 87, 25, .35);
  border-radius: 12px; padding: 14px 18px; box-shadow: var(--ombre); max-width: 250px; font-size: .95rem; line-height: 1.35;
}
.arche__badge b { font-family: var(--serif); font-size: 1.25rem; display: block; color: var(--brun); }
@media (max-width: 860px) {
  .heros__grille { grid-template-columns: 1fr; }
  .arche { max-width: 420px; margin: 8px auto 0; width: 88%; }
  .arche__badge { left: -10px; }
}

/* Héros de page intérieure */
.page-tete { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid rgba(134, 87, 25, .2); }
.page-tete__grille { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.page-tete__photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 460px; box-shadow: var(--ombre); }
.page-tete__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
@media (max-width: 860px) { .page-tete__grille { grid-template-columns: 1fr; } .page-tete__photo { max-height: 380px; aspect-ratio: 4 / 3; } }

/* Cartes */
.grille { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grille--4 { grid-template-columns: repeat(2, 1fr); } .grille--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr; } }

.carte { background: #fffdf6; border: 1px solid rgba(134, 87, 25, .22); border-radius: var(--rayon); padding: clamp(24px, 3vw, 34px); position: relative; }
.carte h3 { margin-bottom: .45em; }
.carte p:last-child { margin-bottom: 0; }
.carte--situation { border-top: 3px solid var(--orange); }
.carte--situation .citation { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--brun); margin-bottom: 14px; }
.carte__num { font-family: var(--serif); font-size: 2.6rem; color: var(--or); line-height: 1; margin-bottom: 10px; display: block; }

.offre { display: flex; flex-direction: column; background: #fffdf6; border: 1px solid rgba(134, 87, 25, .22); border-radius: 18px; overflow: hidden; }
.offre__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sable); }
.offre__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s ease; }
.offre:hover .offre__img img { transform: scale(1.03); }
.offre__corps { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.offre__corps p { color: var(--texte-doux); }
.offre__corps .lien-fleche { margin-top: auto; align-self: flex-start; }
.etiquette { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.offre--phare { border: 2px solid var(--orange); }

/* Listes */
.coches { list-style: none; padding: 0; margin: 0 0 1.2em; }
.coches li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.coches li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--brun .coches li::before { background-color: var(--jaune); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E1502' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Deux colonnes texte + image */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.duo--inverse .duo__media { order: 2; }
.duo__media { border-radius: 18px; overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 5; background: var(--sable); }
.duo__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--inverse .duo__media { order: 0; } .duo__media { aspect-ratio: 4 / 3; } }

/* Manifeste */
.manifeste { text-align: center; max-width: 860px; margin: 0 auto; }
.manifeste__grand, .manifeste .manifeste__grand { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; font-weight: 700; color: #fff7e6; margin-bottom: 28px; }
.manifeste__grand em { color: var(--jaune); font-style: italic; font-weight: 600; }
.manifeste p { font-size: 1.15rem; color: #ecdcbc; }
.filet-or { width: 80px; height: 1px; background: var(--or); margin: 30px auto; border: 0; }
.embleme-fond { width: 104px; height: 104px; margin: 0 auto 28px; padding: 18px 10px; border-radius: 50%; background: var(--creme); object-fit: contain; box-shadow: 0 0 0 6px rgba(250, 200, 31, .14); }

/* Étapes */
.etapes { counter-reset: e; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid rgba(250, 200, 31, .3); }
.etapes li { counter-increment: e; padding: 26px 26px 28px 0; border-bottom: 1px solid rgba(250, 200, 31, .2); }
.etapes li::before { content: counter(e, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--jaune); margin-bottom: 12px; }
.etapes h3 { font-size: 1.4rem; margin-bottom: 6px; }
.etapes p { color: #e3d2b1; margin: 0; font-size: 1rem; }

/* Tarifs */
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .formules { grid-template-columns: 1fr; } }
.formule { background: #fffdf6; border: 1px solid rgba(134, 87, 25, .25); border-radius: 20px; padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; }
.formule--phare { border: 2px solid var(--orange); position: relative; }
.formule__pour { color: var(--texte-doux); min-height: 3.2em; }
.formule h3 { font-size: 2rem; }
.prix { list-style: none; padding: 0; margin: 18px 0 24px; border-top: 1px solid rgba(134, 87, 25, .25); }
.prix li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(134, 87, 25, .18); }
.prix li span { color: var(--texte-doux); }
.prix li b { font-family: var(--serif); font-size: 1.85rem; color: var(--brun); white-space: nowrap; }
.prix li b small { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--or); margin-left: 4px; }
.formule .btn { margin-top: auto; align-self: flex-start; }
.note { font-size: .95rem; color: var(--texte-doux); }

/* Démo */
.demo { background: #fffdf6; border: 1px solid rgba(134, 87, 25, .25); border-radius: 22px; padding: clamp(24px, 4vw, 52px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 56px); }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }
.demo__alerte { display: inline-block; background: var(--creme-2); border: 1px dashed var(--or); color: var(--brun-2); font-size: .9rem; padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; }
.semaines { list-style: none; margin: 0; padding: 0; }
.semaines li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(134, 87, 25, .18); }
.semaines li:first-child { border-top: 1px solid rgba(134, 87, 25, .18); }
.semaines b { font-family: var(--serif); font-size: 1.25rem; color: var(--or); }
.semaines h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.semaines p { margin: 0; font-size: .98rem; color: var(--texte-doux); }
@media (max-width: 520px) { .semaines li { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(134, 87, 25, .28); }
.faq details:first-child { border-top: 1px solid rgba(134, 87, 25, .28); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.8rem; font-weight: 400; color: var(--orange); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--texte-doux); }

/* Parcours (à propos) */
.frise { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid var(--or); }
.frise li { position: relative; padding: 0 0 26px 8px; }
.frise li::before { content: ""; position: absolute; left: -35px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--creme); border: 2px solid var(--orange); }
.frise b { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.frise span { color: var(--texte-doux); font-size: 1rem; }

.citation-grande { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; color: var(--brun); border-left: 3px solid var(--orange); padding-left: 24px; margin: 0 0 24px; }

/* Bandeau d'appel */
.appel { background: var(--brun); color: #f6ead2; border-radius: 26px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: center; position: relative; overflow: hidden; }
.appel .btn { white-space: nowrap; }
.appel h2 { color: #fff7e6; }
.appel h2 em { color: var(--jaune); }
.appel p { color: #e3d2b1; max-width: 560px; }
.appel__fin { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.appel__mail { color: #f6ead2; font-size: 1rem; }
.appel__mail a { color: var(--jaune); }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; } }

/* Formulaire */
.formulaire { background: #fffdf6; border: 1px solid rgba(134, 87, 25, .25); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ--plein { grid-column: 1 / -1; }
@media (max-width: 640px) { .champs { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .98rem; }
label small { font-weight: 400; color: var(--texte-doux); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--texte); background: var(--creme); border: 1px solid rgba(134, 87, 25, .4);
  border-radius: 10px; padding: 13px 14px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.formulaire__bas { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 24px; }
.formulaire__info { font-size: .9rem; color: var(--texte-doux); margin: 0; flex: 1 1 260px; }
.message-ok { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--creme-2); border-left: 3px solid var(--orange); }
.message-ok.visible { display: block; }

/* Textes légaux */
.texte-legal { max-width: 820px; }
.texte-legal h2 { font-size: 1.8rem; margin-top: 1.6em; }
.a-completer { background: #fff1c2; border-bottom: 2px dotted var(--orange); padding: 0 4px; }

/* Pied de page */
.pied { background: var(--brun); color: #e3d2b1; padding: 64px 0 28px; margin-top: 0; font-size: .98rem; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }
.pied h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jaune); margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied a { color: #f6ead2; text-decoration: none; }
.pied a:hover { color: var(--jaune); text-decoration: underline; }
.pied__marque { font-family: var(--serif); font-size: 1.9rem; color: #fff7e6; line-height: 1; margin-bottom: 6px; }
.pied__devise { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--jaune); margin: 14px 0; }
.pied__bas { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(250, 200, 31, .2); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .9rem; color: #c9b693; }

/* Apparition douce */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .apparait { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: -999px; top: 8px; background: var(--brun); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.lien-evitement:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.nav a.btn--orange, .nav a.btn--orange:hover { color: #fff; }
[id] { scroll-margin-top: 96px; }


/* Cadrage des portraits en largeur étroite : garder le visage */
@media (max-width: 860px) {
  .duo__media { aspect-ratio: 1 / 1; }
  .duo__media img, .page-tete__photo img { object-position: center 12% !important; }
}

/* Pastilles des thèmes de formation */
.pastilles { display: flex; flex-wrap: wrap; gap: 12px; }
.pastilles a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: #fffdf6; border: 1px solid rgba(134, 87, 25, .35); text-decoration: none; font-weight: 600; color: var(--brun); transition: border-color .15s ease, background .15s ease; }
.pastilles a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.pastilles a:hover { border-color: var(--orange); background: var(--creme); }

/* Thèmes du catalogue */
.theme { display: grid; grid-template-columns: 110px 1fr; gap: 8px 28px; padding: 34px 0; border-top: 1px solid rgba(134, 87, 25, .25); }
.theme:last-child { border-bottom: 1px solid rgba(134, 87, 25, .25); }
.theme__num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--or); }
.theme h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.theme p { color: var(--texte-doux); max-width: 680px; }
.theme__statut { display: inline-block; margin-top: 4px; font-size: .9rem; font-weight: 700; color: var(--orange-fonce); letter-spacing: .04em; }
@media (max-width: 640px) { .theme { grid-template-columns: 1fr; } .theme__num { font-size: 2.2rem; } }

/* Offres business digital */
.bloc-offre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid rgba(134, 87, 25, .25); }
.bloc-offre:first-of-type { border-top: 0; padding-top: 0; }
.bloc-offre__num { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--or); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 10px; }
@media (max-width: 860px) { .bloc-offre { grid-template-columns: 1fr; } }

/* Visuels illustrés (pas de recadrage) et portrait réduit */
.offre__img img[src$=".svg"] { object-fit: cover; object-position: center; }
.duo__media img[src$=".svg"] { object-position: center !important; }
.duo--portrait { grid-template-columns: minmax(0, 320px) 1fr; }
.duo--portrait .duo__media { aspect-ratio: 4 / 5; max-width: 320px; width: 100%; }
@media (max-width: 860px) {
  .duo--portrait { grid-template-columns: 1fr; }
  .duo--portrait .duo__media { aspect-ratio: 4 / 5; max-width: 240px; }
}
/* Illustrations en tête de page : affichées en entier, fond assorti */
.page-tete__photo:has(img[src$=".svg"]) { background: #EFE2C6; }
.page-tete__photo img[src$=".svg"] { object-fit: contain; object-position: center !important; }
