/* parrainer-une-ruche.fr — palette et polices d'aufildumiel.fr (refonte 10/2026) */
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-latin.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-italic-latin.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/fonts/dmsans-latin.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --miel: #F2C81B;
  --miel-fonce: #D9AE06;
  --sapin: #34432E;
  --sapin-fonce: #1F2A1B;
  --chataignier: #8A5A10;
  --encre: #2B2A22;
  --texte-doux: #55513F;
  --lin: #FBF7EF;
  --carte: #F6EEDD;
  --cire: #F1E8D6;
  --cire-bord: #E6DCC8;
  --rouge: #A3341F;
  --vert-ok: #2F6B3A;
  --rayon: 18px;
  --ombre: 0 10px 30px rgba(43, 42, 34, .08);
  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --corps: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --largeur: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lin); color: var(--encre); font: 400 17px/1.6 var(--corps); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sapin); text-underline-offset: 3px; }
a:hover { color: var(--chataignier); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--encre); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--miel-fonce); outline-offset: 3px; border-radius: 6px; }

.evitement { position: absolute; left: -999px; top: 8px; background: var(--sapin); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.evitement:focus { left: 8px; }
.surtitre { font: 700 .78rem/1.4 var(--corps); letter-spacing: .16em; text-transform: uppercase; color: var(--chataignier); margin: 0 0 .7em; }
.surtitre a { color: inherit; text-decoration: none; }
.surtitre-clair { color: var(--miel); }
.chapo { font-size: 1.18rem; color: var(--texte-doux); }
.centre { text-align: center; }
.note { font-size: .93rem; color: var(--texte-doux); text-align: center; margin-top: 28px; }
.facultatif { font-weight: 400; color: var(--texte-doux); font-size: .85em; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: 700 1rem/1.2 var(--corps); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; text-align: center; }
.bouton:hover { transform: translateY(-1px); }
.bouton-miel { background: var(--miel); color: var(--encre); box-shadow: 0 6px 18px rgba(217, 174, 6, .35); }
.bouton-miel:hover { background: var(--miel-fonce); color: var(--encre); }
.bouton-sapin { background: var(--sapin); color: #fff; }
.bouton-sapin:hover { background: var(--sapin-fonce); color: #fff; }
.bouton-clair { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .7); }
.bouton-clair:hover { background: rgba(255, 255, 255, .25); color: #fff; }
.bouton-contour { border-color: var(--sapin); color: var(--sapin); background: transparent; }
.bouton-contour:hover { background: var(--sapin); color: #fff; }
.bouton-petit { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.bouton-large { width: 100%; font-size: 1.08rem; min-height: 56px; }
.lien-fleche { font-weight: 700; text-decoration: none; }
.lien-fleche::after { content: " →"; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cire-bord); }
.entete-int { max-width: var(--largeur); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.marque-ruche { width: 40px; height: 40px; flex: none; }
.marque-texte { display: flex; flex-direction: column; line-height: 1.15; }
.marque-texte strong { font: 600 1.2rem/1.1 var(--titre); }
.marque-texte small { font-size: .78rem; color: var(--texte-doux); }
.nav-bascule, .nav-bouton { display: none; }
.nav-liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-liste a:not(.bouton) { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--encre); font-weight: 500; }
.nav-liste a:not(.bouton):hover, .nav-liste a[aria-current] { background: var(--cire); }
.nav-action { margin-left: 6px; }

@media (max-width: 920px) {
  .nav-bouton { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; }
  .nav-bouton span, .nav-bouton span::before, .nav-bouton span::after { display: block; width: 22px; height: 2px; background: var(--encre); border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
  .nav-bouton span::before { position: absolute; top: -7px; }
  .nav-bouton span::after { position: absolute; top: 7px; }
  .nav-bascule:checked + .nav-bouton span { background: transparent; }
  .nav-bascule:checked + .nav-bouton span::before { transform: translateY(7px) rotate(45deg); }
  .nav-bascule:checked + .nav-bouton span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-bascule:focus-visible + .nav-bouton { outline: 3px solid var(--miel-fonce); }
  .nav-liste { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--lin); border-bottom: 1px solid var(--cire-bord); padding: 8px 16px 18px; box-shadow: var(--ombre); }
  .nav-bascule:checked ~ .nav-liste { display: flex; }
  .nav-liste a:not(.bouton) { padding: 12px 10px; }
  .nav-action { margin: 8px 0 0; }
  .nav-action .bouton { width: 100%; }
}

/* Une (accueil) */
.une { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--sapin-fonce); }
.une picture, .une-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.une-photo { object-fit: cover; object-position: 40% 60%; }
.une-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 42, 27, .82) 0%, rgba(31, 42, 27, .55) 45%, rgba(31, 42, 27, .05) 75%), linear-gradient(180deg, rgba(31, 42, 27, 0) 50%, rgba(31, 42, 27, .6) 100%); }
.une-texte { position: relative; max-width: var(--largeur); width: 100%; margin: 0 auto; padding: 120px 24px 56px; color: #fff; }
.une h1 { color: #fff; max-width: 14ch; }
.une h1 em { font-style: italic; color: var(--miel); font-weight: 500; }
.une-chapo { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 36em; color: rgba(255, 255, 255, .92); }
.une-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.une-actions-centre { justify-content: center; }
.compteur { display: inline-block; margin: 26px 0 0; padding: 8px 16px; background: rgba(0, 0, 0, .28); border-radius: 999px; font-size: .97rem; }
.compteur-point { display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; width: 10px; height: 10px; border-radius: 50%; background: var(--miel); box-shadow: 0 0 0 4px rgba(242, 200, 27, .3); }
.compteur-complet { background: rgba(163, 52, 31, .7); }

.bande-garanties { background: var(--sapin); color: #fff; }
.bande-garanties ul { list-style: none; margin: 0 auto; padding: 18px 24px; max-width: var(--largeur); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; font-size: .97rem; }
.bande-garanties li { padding-left: 26px; position: relative; }
.bande-garanties li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; background: var(--miel); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.bande-garanties strong { color: var(--miel); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-int { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.section-etroite { max-width: 780px; }
.section-carte { background: var(--carte); }
.section-sapin { background: var(--sapin); color: #fff; }
.section-sapin h2, .section-sapin h3 { color: #fff; }
.section > .section-int > h2 { max-width: 22ch; }
.section-int.centre > h2, .section-appel h2 { margin-left: auto; margin-right: auto; }

.etapes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.etapes li { background: #fff; border: 1px solid var(--cire-bord); border-radius: var(--rayon); padding: 26px 22px; }
.etape-num { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--miel); font: 700 1.15rem var(--titre); margin-bottom: 14px; }
.etapes p { color: var(--texte-doux); margin: 0; font-size: .98rem; }
.section-int > .centre { margin-top: 34px; }

.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; align-items: stretch; }
.formule { position: relative; background: #fff; border: 1px solid var(--cire-bord); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--ombre); }
.formule .bouton { margin-top: auto; }
.formule-vedette { border: 2px solid var(--miel); }
.formule-ruban { position: absolute; top: -14px; left: 28px; background: var(--miel); color: var(--encre); font-weight: 700; font-size: .82rem; padding: 4px 14px; border-radius: 999px; margin: 0; }
.formule-prix { font: 600 2.5rem/1 var(--titre); color: var(--sapin); margin: 6px 0 18px; }
.formule-prix small { font: 500 1rem var(--corps); color: var(--texte-doux); }
.coches { list-style: none; padding: 0; margin: 0 0 26px; }
.coches li { position: relative; padding: 0 0 10px 30px; }
.coches li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--carte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%2334432E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.duo-texte p { color: var(--texte-doux); }
.duo-texte h3 { margin-top: 1.4em; }
.duo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.duo-photos img { border-radius: var(--rayon); width: 100%; object-fit: cover; }
.duo-photos picture:first-child img { aspect-ratio: 3 / 4; }
.duo-photos picture:last-child img { aspect-ratio: 4 / 3; margin-bottom: 40px; }
.duo-photos-une { grid-template-columns: 1fr; }
.duo-photos-une picture:last-child img { aspect-ratio: 4 / 5; margin: 0; }

.saisons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .25); }
.saisons div { padding: 24px 22px 0 0; }
.saisons h3 { color: var(--miel); font-size: 1.35rem; }
.saisons p { color: rgba(255, 255, 255, .85); margin: 0; }

.faq { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--cire-bord); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.07rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--corps); color: var(--chataignier); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--texte-doux); margin: 0 0 20px; }

.section-appel { background: var(--carte); text-align: center; }
.section-appel p { color: var(--texte-doux); }

/* Pages intérieures */
.entete-page { max-width: var(--largeur); margin: 0 auto; padding: clamp(36px, 6vw, 72px) 24px; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.entete-page picture img { border-radius: 26px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--ombre); }
.entete-page-photo picture { order: 2; }
.entete-page-texte h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.prix-entete { font-size: 1.1rem; margin: 18px 0 0; }
.prix-entete strong { font: 600 1.9rem var(--titre); color: var(--sapin); margin-right: 6px; }
.prix-entete span { color: var(--texte-doux); font-size: .95rem; }
.cartes-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.carte { background: #fff; border: 1px solid var(--cire-bord); border-radius: var(--rayon); padding: 26px 22px; }
.carte h3 { font-size: 1.15rem; }
.carte p { color: var(--texte-doux); margin: 0; font-size: .98rem; }
.liste-numeros { padding-left: 1.3em; }
.liste-numeros li { margin-bottom: 14px; padding-left: 6px; }
.liste-numeros li::marker { color: var(--chataignier); font-weight: 700; }
.texte-long h2 { font-size: 1.45rem; margin-top: 1.8em; }
.texte-long ul { padding-left: 1.2em; }
.texte-long li { margin-bottom: 8px; }

/* Commande */
.section-commande { padding-top: clamp(32px, 5vw, 56px); }
.commande { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.commande h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font: 600 1.3rem var(--titre); margin-bottom: 14px; padding: 0; }
.champ { margin-bottom: 16px; }
.champ label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .97rem; }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; color: var(--encre); background: #fff; border: 1.5px solid var(--cire-bord); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--sapin); outline: 3px solid rgba(242, 200, 27, .45); outline-offset: 0; }
.champ-aide { display: block; color: var(--texte-doux); font-size: .88rem; margin-top: 5px; }
.champ-erreur input, .champ-erreur textarea, .champ-erreur select { border-color: var(--rouge); background: #FFF6F3; }
.champ-msg { display: block; color: var(--rouge); font-weight: 700; font-size: .9rem; margin-top: 5px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.champs-cp { grid-template-columns: 160px 1fr; }
.piege { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alerte { background: #FFF3E8; border: 1.5px solid #E8B78F; color: #6E3A12; border-radius: 14px; padding: 14px 18px; font-weight: 500; }
.succes { background: #EEF6EC; border: 1.5px solid #A9CBA3; color: var(--vert-ok); border-radius: 14px; padding: 12px 18px; font-weight: 700; }
.mention-cgv { font-size: .88rem; color: var(--texte-doux); margin-top: 14px; text-align: center; }
.commande-resume { position: sticky; top: 90px; background: #fff; border: 1px solid var(--cire-bord); border-radius: 24px; overflow: hidden; box-shadow: var(--ombre); }
.commande-resume img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }
.resume-texte { padding: 22px 24px 8px; }
.resume-texte h2 { font-size: 1.35rem; }
.resume-texte .formule-prix { font-size: 2rem; }
.resume-places { font-weight: 700; color: var(--chataignier); font-size: .95rem; }

/* Merci */
.merci-liste { display: grid; gap: 14px; margin: 28px 0; }
.merci-ruche { background: #fff; border: 1px solid var(--cire-bord); border-radius: var(--rayon); padding: 22px; }
.merci-num { font: 600 1.6rem var(--titre); color: var(--sapin); margin-bottom: 4px; }
.attente { display: flex; justify-content: center; gap: 10px; margin: 26px 0; }
.attente span { width: 14px; height: 14px; border-radius: 50%; background: var(--miel); animation: rebond 1.2s infinite ease-in-out; }
.attente span:nth-child(2) { animation-delay: .15s; }
.attente span:nth-child(3) { animation-delay: .3s; }
@keyframes rebond { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .attente span { animation: none; } html { scroll-behavior: auto; } }

/* Certificat */
.certificat-outils { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.certificat { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: var(--ombre); padding: 18px; }
.certificat-cadre { border: 2px solid var(--miel); outline: 1px solid var(--cire-bord); outline-offset: 6px; border-radius: 6px; padding: 44px clamp(20px, 5vw, 56px) 30px; text-align: center; background: radial-gradient(circle at 50% 0, #FFF9E2 0, #fff 60%); }
.certificat-logo { margin: 0 auto 18px; width: 190px; }
.certificat-titre { font-size: clamp(2.4rem, 7vw, 3.6rem); color: var(--sapin); margin-bottom: .1em; }
.certificat-nom-ruche { font: italic 500 1.5rem var(--titre); color: var(--chataignier); }
.certificat-texte { font-size: 1.15rem; max-width: 30em; margin: 18px auto; }
.certificat-mot { font: italic 400 1.15rem/1.5 var(--titre); color: var(--texte-doux); margin: 18px auto; max-width: 28em; padding: 14px 20px; border-left: 3px solid var(--miel); text-align: left; background: var(--lin); border-radius: 0 10px 10px 0; }
.certificat-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 22px; text-align: center; }
.certificat-infos dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--chataignier); margin-bottom: 4px; }
.certificat-infos dd { margin: 0; font-size: .97rem; }
.certificat-pied { font-size: .82rem; color: var(--texte-doux); margin: 10px 0 0; }
.certificat-form { max-width: 760px; margin: 32px auto 0; background: var(--carte); border-radius: var(--rayon); padding: 24px; }
.certificat-form h2 { font-size: 1.3rem; }

/* Pied */
.pied { background: var(--sapin-fonce); color: rgba(255, 255, 255, .82); font-size: .95rem; }
.pied a { color: #fff; }
.pied a:hover { color: var(--miel); }
.pied-int { max-width: var(--largeur); margin: 0 auto; padding: 56px 24px 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.pied h2 { font: 700 .8rem var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--miel); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied-logo { width: 170px; margin-bottom: 14px; background: var(--lin); border-radius: 12px; padding: 8px 12px; }
.pied-petit { font-size: .88rem; }
.pied-bas { text-align: center; margin: 0; padding: 18px 24px 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }

/* Responsive */
@media (max-width: 1000px) {
  .etapes, .cartes-4, .saisons { grid-template-columns: repeat(2, 1fr); }
  .formules { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .bande-garanties ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .duo, .entete-page, .commande { grid-template-columns: 1fr; }
  .entete-page-photo picture { order: 0; }
  .entete-page picture img { aspect-ratio: 16 / 10; }
  .commande-resume { position: static; order: -1; display: grid; grid-template-columns: 120px 1fr; }
  .commande-resume img { height: 100%; aspect-ratio: auto; }
  .commande-resume .coches, .commande-resume .resume-places { display: none; }
  .resume-texte { padding: 14px 16px; }
  .resume-texte h2 { font-size: 1.1rem; margin-bottom: 2px; }
  .resume-texte .formule-prix { font-size: 1.5rem; margin: 0; }
  .pied-int { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .une-voile { background: linear-gradient(180deg, rgba(31, 42, 27, .25) 0%, rgba(31, 42, 27, .55) 35%, rgba(31, 42, 27, .9) 100%); }
  .entete-int, .section-int, .une-texte, .entete-page, .pied-int { padding-left: 16px; padding-right: 16px; }
  .marque-texte small { display: none; }
  .une { min-height: min(92svh, 720px); }
  .une-texte { padding-bottom: 36px; }
  .une-actions .bouton { flex: 1 1 100%; }
  .etapes, .cartes-4, .saisons, .bande-garanties ul { grid-template-columns: 1fr; }
  .champs-2, .champs-cp { grid-template-columns: 1fr; }
  .certificat { padding: 8px; }
  .certificat-cadre { padding: 30px 16px 22px; }
  .certificat-infos { grid-template-columns: 1fr; }
  .duo-photos picture:last-child img { margin-bottom: 0; }
}

@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; font-size: 12pt; }
  .entete, .pied, .ecran-seul, .evitement { display: none !important; }
  .section { padding: 0; }
  .certificat { box-shadow: none; max-width: none; padding: 0; }
  .certificat-cadre { padding: 26px 40px 18px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .certificat-infos { grid-template-columns: repeat(3, 1fr); }
}

/* Facture (auto-entreprise, TVA non applicable) */
.facture { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--cire-bord); border-radius: 10px; padding: clamp(20px, 5vw, 48px); font-size: .95rem; }
.facture-entete { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--miel); padding-bottom: 18px; margin-bottom: 22px; }
.facture-entete p { margin: 0 0 6px; }
.facture-titre { text-align: right; }
.facture-titre h1 { font-size: 2rem; margin-bottom: 4px; }
.facture-client { margin-bottom: 22px; }
.facture-lignes { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.facture-lignes th, .facture-lignes td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--cire-bord); vertical-align: top; }
.facture-lignes thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--chataignier); }
.facture-lignes tfoot th { text-align: right; }
.facture-lignes .nombre { text-align: right; white-space: nowrap; }
.facture-lignes small { color: var(--texte-doux); }
.facture-mention { font-size: 1rem; }
.facture-petit { font-size: .82rem; color: var(--texte-doux); }
@media (max-width: 600px) { .facture-titre { text-align: left; } .facture-lignes th:nth-child(3), .facture-lignes td:nth-child(3) { display: none; } }
@media print { .facture { border: 0; padding: 0; max-width: none; } @page { size: A4 portrait; } }
.annonce { margin: 0; background: var(--miel); color: var(--encre); text-align: center; font-weight: 700; font-size: .95rem; padding: 8px 16px; }

/* ---------- Accueil v2 (14/11/2026) : engagements en cartes, parcours de l'abeille ---------- */
.une-texte { padding-bottom: 104px; }
.garanties { position: relative; z-index: 2; margin-top: -64px; }
.garanties-liste { list-style: none; margin: 0 auto; padding: 0 24px; max-width: var(--largeur); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.garantie { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 20px 18px; box-shadow: 0 18px 40px rgba(31, 42, 27, .14); border: 1px solid rgba(230, 220, 200, .7); }
.garantie-icone { flex: none; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(140deg, #FFF3C4, var(--miel)); display: grid; place-items: center; }
.garantie-icone svg { width: 27px; height: 27px; fill: none; stroke: var(--sapin-fonce); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.garantie-texte { font-size: .93rem; line-height: 1.45; color: var(--texte-doux); }
.garantie-texte strong { display: block; font: 600 1.08rem/1.25 var(--titre); color: var(--encre); margin-bottom: 4px; }

.section-parcours { overflow: hidden; }
.parcours { position: relative; margin-top: 48px; }
.parcours-trace { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; display: none; }
.parcours-anime .parcours-trace { display: block; }
.parcours-fond { fill: none; stroke: #D9CBAA; stroke-width: 2.5; stroke-dasharray: 1 10; stroke-linecap: round; }
.parcours-miel { fill: none; stroke: var(--miel); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 2px 3px rgba(217, 174, 6, .45)); }
.parcours-calme .parcours-miel, .parcours-calme .abeille-vol { display: none; }
.etapes-vol { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.etape-vol { text-align: center; transition: opacity .4s ease, transform .4s ease; }
.etape-vol:nth-child(even) { margin-top: 110px; }
.parcours-anime:not(.parcours-calme) .etape-vol:not(.actif) { opacity: .55; }
.etape-vol h3 { margin: 18px 0 8px; font-size: 1.22rem; }
.etape-vol p { color: var(--texte-doux); font-size: .98rem; max-width: 27ch; margin: 0 auto; }
.etape-alveole { position: relative; width: 92px; height: 104px; border: 0; padding: 0; cursor: pointer; display: inline-grid; place-items: center; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 104'%3E%3Cpath d='M46 3 88 27v50L46 101 4 77V27z' fill='%23F6EEDD' stroke='%23E2D4B4' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), filter .35s; }
.etape-alveole svg { width: 38px; height: 38px; fill: none; stroke: var(--sapin); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.etape-alveole:focus-visible { outline: 3px solid var(--sapin); outline-offset: 4px; border-radius: 12px; }
.etape-rang { position: absolute; top: 2px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--sapin); color: #fff; font: 700 .9rem/30px var(--corps); }
.etape-vol.actif .etape-alveole { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 104'%3E%3Cpath d='M46 3 88 27v50L46 101 4 77V27z' fill='%23F2C81B' stroke='%23D9AE06' stroke-width='3'/%3E%3C/svg%3E"); }
.etape-vol.actif .etape-alveole svg { stroke: var(--sapin-fonce); }
.etape-vol.courante .etape-alveole { transform: scale(1.1); filter: drop-shadow(0 8px 14px rgba(217, 174, 6, .45)); }

.abeille-vol { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; pointer-events: none; display: none; will-change: transform; }
.parcours-anime .abeille-vol { display: block; }
.abeille-svg { position: absolute; left: -28px; top: -40px; width: 56px; height: 42px; overflow: visible; transform-origin: 28px 21px; animation: abeille-plane 1.8s ease-in-out infinite; }
.en-vol .abeille-svg { animation: none; }
.aile ellipse { fill: rgba(255, 255, 255, .88); stroke: #2B2A22; stroke-width: 1.6; }
.aile { transform-box: fill-box; transform-origin: 50% 90%; animation: aile 0.16s ease-in-out infinite alternate; }
.aile-arriere { animation-delay: .08s; }
@keyframes aile { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
@keyframes abeille-plane { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

@media (max-width: 1000px) {
  .garanties-liste { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .etapes-vol { grid-template-columns: 1fr; gap: 30px; }
  .etape-vol, .etape-vol:nth-child(even) { margin-top: 0; text-align: left; display: grid; grid-template-columns: 92px 1fr; column-gap: 18px; align-items: start; }
  .etape-vol:nth-child(even) { padding-left: 34px; }
  .etape-alveole { grid-row: span 2; width: 76px; height: 86px; }
  .etape-alveole svg { width: 32px; height: 32px; }
  .etape-vol h3 { margin: 6px 0 4px; }
  .etape-vol p { margin: 0; max-width: none; }
}
@media (max-width: 600px) {
  .une-texte { padding-bottom: 84px; }
  .garanties { margin-top: -48px; }
  .garanties-liste { grid-template-columns: 1fr; gap: 10px; padding: 0 16px; }
  .garantie { padding: 14px 16px; border-radius: 18px; }
  .garantie-icone { width: 44px; height: 44px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .aile, .abeille-svg { animation: none; } }

/* Journal de la ruche (page du certificat) */
.journal { max-width: 760px; margin: 48px auto 0; }
.journal-vide { color: var(--texte-doux); background: var(--carte); border-radius: 14px; padding: 16px 20px; }
.journal-entree { position: relative; padding: 0 0 26px 28px; border-left: 2px dashed var(--cire-bord); margin-left: 8px; }
.journal-entree::before { content: ""; position: absolute; left: -10px; top: 2px; width: 18px; height: 20px; background: var(--miel); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.journal-date { font: 700 .78rem/1.4 var(--corps); letter-spacing: .1em; text-transform: uppercase; color: var(--chataignier); margin-bottom: 4px; }
.journal-entree h3 { margin-bottom: 6px; }
.journal-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.journal-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Pourquoi parrainer (accueil) */
.pourquoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.pourquoi article { padding: 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--cire-bord); border-top: 4px solid var(--miel); }
.pourquoi h3 { font-size: 1.12rem; }
.pourquoi p { color: var(--texte-doux); font-size: .96rem; margin: 0; }
.pourquoi a { font-weight: 700; white-space: nowrap; }
@media (max-width: 1000px) { .pourquoi { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pourquoi { grid-template-columns: 1fr; } }
