/* Mon Activité Rentable : feuille de style commune
   Identité : vert forêt #1E4D3B · ambre #D48C3A · blanc
   Polices auto-hébergées (aucune requête vers un serveur tiers) */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --fond: #EDF1EE;
  --papier: #FFFFFF;
  --encre: #14311F;
  --encre2: #5E7568;
  --trait: #D2DCD5;
  --vert: #1E4D3B;
  --vert-clair: #6E9480;
  --ambre: #D48C3A;
  --ambre-clair: #F3E3CB;
  --alerte: #A63A28;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--vert); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.lead { font-size: 18px; color: var(--encre2); max-width: 640px; }
.muted { color: var(--encre2); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Barre de navigation */
.nav { background: var(--vert); color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-size: 20px; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14.5px; opacity: 0.9; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-links .cta { background: var(--ambre); color: var(--encre); padding: 8px 14px; border-radius: 2px; font-weight: 600; opacity: 1; text-decoration: none; }

/* Bandeau titre */
.hero { background: var(--vert); color: #fff; padding: 56px 0 52px; }
.hero h1 { color: #fff; }
.hero .lead { color: #fff; opacity: 0.9; }
.hero .filet { height: 1.5px; background: var(--ambre); width: 120px; margin: 18px 0; }
.hero .kicker { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ambre); margin-bottom: 14px; }

/* Boutons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 2px; font-weight: 600; text-decoration: none; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-ambre { background: var(--ambre); color: var(--encre); }
.btn-ambre:hover { background: #c47f30; }
.btn-blanc { background: #fff; color: var(--vert); }
.btn-vert { background: var(--vert); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-vert { background: transparent; color: var(--vert); border-color: var(--vert); }

/* Sections et cartes */
.section { padding: 56px 0; }
.section-papier { background: var(--papier); }
.carte { background: var(--papier); border: 1px solid var(--trait); padding: 26px; }
.grille { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.carte h3 { margin-bottom: 8px; }
.carte .num { font-family: var(--serif); font-size: 34px; color: var(--ambre); line-height: 1; margin-bottom: 10px; }
.filet-ambre { border-top: 2px solid var(--ambre); padding-top: 12px; }

/* Tarifs */
.offres { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.offre { background: var(--papier); border: 1px solid var(--trait); padding: 28px; position: relative; }
.offre.mise-en-avant { border: 2px solid var(--ambre); }
.offre .badge { position: absolute; top: -12px; left: 20px; background: var(--ambre); color: var(--encre); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; }
.offre .prix { font-family: var(--serif); font-size: 36px; margin: 6px 0 14px; }
.offre ul { padding-left: 18px; margin: 0 0 20px; color: var(--encre2); line-height: 1.8; }

/* FAQ */
details { border-top: 1px solid var(--trait); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--trait); }
summary { cursor: pointer; font-family: var(--serif); font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ambre); font-family: var(--sans); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--encre2); margin-top: 10px; max-width: 720px; }

/* Formulaires */
.form label { display: block; font-size: 14px; color: var(--encre2); margin: 16px 0 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 12px; border: 1px solid var(--trait); border-radius: 2px; font-family: var(--sans); font-size: 15.5px; background: #fff; color: var(--encre); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--vert); outline-offset: 2px; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--encre2); margin: 18px 0; }
.form .consent input { width: auto; margin-top: 4px; }

/* Pages juridiques */
.juridique h2 { font-size: 22px; margin-top: 36px; }
.juridique h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; margin-top: 22px; }
.juridique p, .juridique li { color: var(--encre2); }
.juridique .a-completer { background: var(--ambre-clair); padding: 2px 6px; border-radius: 2px; color: var(--encre); font-weight: 600; }
.encadre { border-left: 3px solid var(--ambre); padding: 14px 18px; background: var(--papier); margin: 20px 0; }

/* Pied de page */
.footer { background: var(--vert); color: #fff; padding: 40px 0 30px; margin-top: 60px; font-size: 13.5px; }
.footer .wrap { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer a { color: #fff; }
.footer .col h4 { font-family: var(--serif); font-weight: 400; font-size: 17px; margin: 0 0 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; opacity: 0.8; font-size: 12.5px; }

/* Utilitaires */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tableau { min-width: 640px; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tableau th, .tableau td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau th { font-weight: 500; color: var(--encre2); font-size: 13px; }
@media (max-width: 720px) {
  .hero { padding: 40px 0; }
  .section { padding: 40px 0; }
  .carte, .offre { padding: 20px; }
}
@media print {
  .nav, .footer, .no-print { display: none !important; }
  body { background: #fff; }
}
