/* Shared styling for the standalone content pages (financement, expatrié,
   international, assurance, contact). Same palette and type as the homepage —
   Cinzel for headings, Montserrat for text — but without the Design
   Component runtime, so a page renders even if support.js fails.

   Palette (charte FH) : #081D33 bleu nuit · #D4AF37 or champagne
   #E6B08C or rose · #F4F1ED beige clair · #1A1A1A noir profond */

/* Transition douce entre deux pages du site, sans écran blanc.
   Ignoré par les navigateurs qui ne la gèrent pas — pas de repli à écrire. */
@view-transition{navigation:auto}

:root{
  --navy:#081D33;
  --navy-deep:#050F1C;
  --navy-soft:#0c2742;
  --gold:#D4AF37;
  --rose:#E6B08C;
  --rose-light:#F0C9AE;
  --rose-deep:#C98A6B;
  --cream:#F4F1ED;
  --ink:#1A1A1A;
  --rose-grad:linear-gradient(135deg,#F0C9AE 0%,#E6B08C 45%,#C98A6B 100%);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--navy);color:rgba(244,241,237,.88);
  font-family:'Montserrat','SF Pro Display',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:16px;line-height:1.7;font-weight:300;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Cinzel','Fraunces',Georgia,serif;font-weight:600;line-height:1.15;color:#fff}
a{color:var(--rose);text-decoration:none;transition:.25s}
a:hover{color:var(--rose-light)}
strong{color:#fff;font-weight:500}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.btn{
  display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:12.5px;
  letter-spacing:.1em;text-transform:uppercase;padding:15px 30px;border-radius:12px;
  color:var(--navy);background:var(--rose-grad);white-space:nowrap;
  transition:.35s cubic-bezier(.16,1,.3,1);
}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 34px -10px rgba(230,176,140,.6);color:var(--navy)}
.btn-ghost{background:none;border:1px solid rgba(230,176,140,.45);color:var(--rose)}
.btn-ghost:hover{border-color:var(--rose);color:var(--rose-light);box-shadow:none}

/* ---- Hero ------------------------------------------------------------ */
.hero{position:relative;padding:246px 0 78px;background:radial-gradient(120% 90% at 78% 8%,rgba(230,176,140,.16) 0%,rgba(230,176,140,0) 62%),var(--navy)}
.eyebrow{display:flex;align-items:center;gap:14px;font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--rose);font-weight:500;margin-bottom:22px}
.eyebrow::before{content:"";width:44px;height:1px;background:var(--rose);flex:0 0 auto}
.hero h1{font-size:clamp(34px,5.2vw,58px);letter-spacing:-.01em;margin-bottom:22px}
.hero h1 em{font-style:italic;background:var(--rose-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.lead{font-size:17.5px;max-width:720px;color:rgba(244,241,237,.8);margin-bottom:34px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}

/* ---- Sections -------------------------------------------------------- */
section{padding:78px 0}
.on-cream{background:#FBF7F3;color:var(--ink)}
.on-cream h1,.on-cream h2,.on-cream h3,.on-cream h4{color:var(--navy)}
.on-cream .eyebrow{color:var(--rose-deep)}
.on-cream .eyebrow::before{background:var(--rose-deep)}
.on-cream p{color:#5c4f46}
.on-cream strong{color:var(--navy)}
.on-soft{background:var(--navy-soft)}
h2{font-size:clamp(26px,3.4vw,40px);margin-bottom:16px}
h2 em{font-style:italic;color:var(--rose)}
.on-cream h2 em{color:var(--rose-deep)}
.sec-lead{max-width:720px;margin-bottom:44px;font-size:16.5px}

/* ---- Cards ----------------------------------------------------------- */
.grid{display:grid;gap:24px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{
  display:flex;flex-direction:column;padding:32px 28px;border-radius:16px;
  background:rgba(230,176,140,.055);border:1px solid rgba(230,176,140,.2);
  border-top:2px solid var(--rose);transition:.45s cubic-bezier(.16,1,.3,1);
}
.card:hover{transform:translateY(-6px);border-color:var(--rose);box-shadow:0 26px 52px -26px rgba(0,0,0,.5)}
.on-cream .card{background:#fff;border:1px solid rgba(201,138,107,.22);border-top:2px solid var(--rose)}
.on-cream .card:hover{box-shadow:0 26px 52px -26px rgba(15,30,51,.22)}
.card h3{font-size:20px;margin-bottom:10px}
.card .kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--rose);font-weight:600;margin-bottom:12px}
.on-cream .card .kicker{color:var(--rose-deep)}
.card p{font-size:14.5px;line-height:1.65;flex:1}
.card .more{margin-top:18px;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--rose)}
.on-cream .card .more{color:var(--rose-deep)}

/* ---- Checklists ------------------------------------------------------ */
.checks{list-style:none;display:grid;gap:14px;max-width:760px}
.checks li{position:relative;padding-left:32px;font-size:15.5px}
.checks li::before{
  content:"";position:absolute;left:0;top:9px;width:14px;height:14px;border-radius:50%;
  border:1.5px solid var(--rose);background:rgba(230,176,140,.16);
}

/* ---- Accordion (native, no script) ----------------------------------- */
details{border-bottom:1px solid rgba(230,176,140,.2);padding:20px 0}
.on-cream details{border-bottom-color:rgba(201,138,107,.24)}
summary{
  cursor:pointer;list-style:none;font-size:16.5px;font-weight:500;color:#fff;
  display:flex;align-items:flex-start;gap:16px;
}
.on-cream summary{color:var(--navy)}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";margin-left:auto;color:var(--rose);font-size:22px;line-height:1;transition:transform .3s}
details[open] summary::after{transform:rotate(45deg)}
details p{margin-top:14px;font-size:15px;max-width:820px}

/* ---- Sans / Avec comparison ------------------------------------------
   Mirrors the homepage block: a light card against a navy one, each row
   carrying its own ✗ or ✓ token. */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.compare-col{border-radius:20px;padding:38px 32px}
.compare-head{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:18px}
.compare-head span:last-child{font-family:'Montserrat','SF Pro Display',-apple-system,sans-serif;font-size:17px}
.compare-mark{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%}
.compare-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
.compare-col li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.55}
.compare-col li::before{flex:0 0 auto;width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;margin-top:2px}

.compare-off{background:#fff;border:1px solid rgba(201,138,107,.22);box-shadow:0 20px 50px -22px rgba(15,30,51,.15)}
.compare-off .compare-head{border-bottom:1px solid rgba(15,30,51,.08)}
.compare-off .compare-mark{background:rgba(220,80,80,.1);color:#c44}
.compare-off .compare-head span:last-child{font-weight:500;color:#5a4a3e}
.compare-off li{color:#5a4a3e}
.compare-off li::before{content:"\2717";background:rgba(220,80,80,.14);color:#c44}

.compare-on{background:linear-gradient(160deg,#081D33 0%,#0c2742 100%);border:1px solid rgba(230,176,140,.35);color:#fff;box-shadow:0 30px 60px -22px rgba(230,176,140,.35),0 12px 24px -8px rgba(15,30,51,.4)}
.compare-on .compare-head{border-bottom:1px solid rgba(230,176,140,.2)}
.compare-on .compare-mark{background:rgba(230,176,140,.2);color:var(--rose)}
.compare-on .compare-head span:last-child{font-weight:600;color:#fff}
.compare-on li{color:rgba(236,223,214,.92)}
.compare-on li::before{content:"\2713";background:rgba(230,176,140,.22);color:var(--rose)}

@media (max-width:760px){.compare{grid-template-columns:1fr}}

/* ---- Closing band ---------------------------------------------------- */
.band{background:linear-gradient(135deg,var(--navy-deep),var(--navy-soft));text-align:center}
.band h2{margin-bottom:14px}
.band p{max-width:640px;margin:0 auto 30px}
.band .btn{font-weight:700}

/* Sous 1080px l'en-tête se contracte à 60px et la barre de menu devient un
   panneau flottant, hors du flux : le hero n'a plus 156px à dégager mais 60.
   Sans ce palier il reste 186px de vide au-dessus du sur-titre. */
@media (max-width:1080px){.hero{padding:150px 0 62px}}

/* ---- Repli sur écran étroit -------------------------------------------
   Deux défauts mesurés à 320px, invisibles au test de débordement du
   document parce que body porte overflow-x:hidden — le contenu était coupé,
   pas décalé.

   1. « Faire le point sur mon projet » en white-space:nowrap avec 30px de
      marge intérieure fait 321px de large. L'écran en fait 320.
   2. Une piste de grille et un enfant de grille valent min-width:auto : le
      formulaire de contact et ses champs restaient à 316px dans un conteneur
      de 280. Même cause que le débordement de partenaires.html. */
.grid > *,.fh-form,.fh-form label,.fh-form input,.fh-form select,.fh-form textarea{min-width:0}

@media (max-width:400px){
  .btn{white-space:normal;text-align:center;padding:14px 20px;max-width:100%}
}

@media (max-width:900px){.g4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){
  .g2,.g3,.g4{grid-template-columns:1fr}
  section{padding:56px 0}
  .hero{padding:124px 0 54px}
  .wrap{padding-left:20px;padding-right:20px}
}

/* ---- Contact form ---------------------------------------------------- */
.fh-form{display:grid;gap:16px}
.fh-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fh-form label{display:grid;gap:7px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--rose-deep)}
.fh-form input,.fh-form select,.fh-form textarea{
  width:100%;padding:14px 16px;border:1.5px solid rgba(201,138,107,.3);border-radius:11px;
  font-family:'Montserrat','SF Pro Display',-apple-system,sans-serif;font-size:15px;font-weight:300;
  color:var(--ink);background:#fff;outline:none;transition:border-color .25s;letter-spacing:normal;text-transform:none;
}
.fh-form textarea{resize:vertical;min-height:120px}
.fh-form input:focus,.fh-form select:focus,.fh-form textarea:focus{border-color:var(--rose)}
.fh-form label.fh-consent{display:flex;flex-direction:row;align-items:flex-start;gap:11px;font-size:12.5px;
  letter-spacing:normal;text-transform:none;font-weight:300;color:#5c4f46;line-height:1.55;cursor:pointer}
.fh-form label.fh-consent input{width:auto;flex:0 0 auto;margin-top:3px;accent-color:var(--rose-deep)}
.fh-form button{justify-self:start;border:none;cursor:pointer;font-family:inherit}
.fh-form button:disabled{opacity:.6;cursor:not-allowed;transform:none}
@media (max-width:760px){.fh-row{grid-template-columns:1fr}}

/* ---- Destination cards ----------------------------------------------- */
.dest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.dest{
  display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#fff;
  border:1px solid rgba(201,138,107,.22);border-top:2px solid var(--rose);
  transition:.45s cubic-bezier(.16,1,.3,1);
}
.dest:hover{transform:translateY(-6px);box-shadow:0 26px 52px -26px rgba(15,30,51,.22)}
/* A destination card that links out is still a card, not a link. */
a.dest,a.dest:hover{color:inherit}
.dest .more{display:block;margin-top:16px;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--rose-deep)}
.dest-img{aspect-ratio:16/9;overflow:hidden;background:#e8d3c4}
.dest-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.1s cubic-bezier(.16,1,.3,1)}
.dest:hover .dest-img img{transform:scale(1.05)}
.dest-body{padding:26px 26px 30px}
.dest-body h3{font-size:23px;margin-bottom:8px}
.dest-body .kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--rose-deep);font-weight:600;margin-bottom:10px}
.dest-ticket{font-size:13.5px;font-weight:500;color:var(--navy);margin-bottom:12px}
.dest-body p{font-size:14.5px;line-height:1.65;color:#5c4f46}
@media (max-width:760px){.dest-grid{grid-template-columns:1fr}}

/* ---- Case studies ---------------------------------------------------- */
.card.case{flex-direction:row;gap:22px;align-items:flex-start}
.case-amount{
  flex:0 0 auto;min-width:86px;font-family:'Cinzel','Fraunces',Georgia,serif;
  font-size:26px;font-weight:600;line-height:1.1;color:var(--rose-deep);
}
.case-body{flex:1;min-width:0}
.case-body h3{font-size:18px;margin-bottom:10px}
@media (max-width:520px){
  .card.case{flex-direction:column;gap:12px}
  .case-amount{min-width:0}
}

/* ---- Testimonials ---------------------------------------------------- */
.testi{
  display:flex;flex-direction:column;gap:14px;padding:28px 26px;border-radius:16px;
  background:rgba(230,176,140,.055);border:1px solid rgba(230,176,140,.2);
}
.testi .kicker{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--rose);font-weight:600}
.testi blockquote{font-size:15px;line-height:1.7;color:rgba(244,241,237,.86);flex:1}
.testi figcaption{display:flex;flex-direction:column;gap:2px;font-size:13px;color:rgba(184,158,142,.8)}
.testi figcaption strong{font-size:14.5px}

/* ---- Team ------------------------------------------------------------ */
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;max-width:920px}
.member-img{aspect-ratio:3/4;overflow:hidden;border-radius:16px;background:#e8d3c4;margin-bottom:18px}
.member-img img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block;filter:saturate(.94);transition:transform 1.1s cubic-bezier(.16,1,.3,1)}
.member:hover .member-img img{transform:scale(1.05)}
.member h3{font-family:'Montserrat','SF Pro Display',-apple-system,sans-serif;font-size:18px;font-weight:600;margin-bottom:4px}
.member-role{font-size:12.5px;color:var(--rose-deep);font-weight:500;margin-bottom:10px}
.member p{font-size:13.5px;line-height:1.6;color:#5c4f46}
/* Une seule fiche : la colonne se cale sur elle et reste centrée, à toutes
   les largeurs — sinon la carte s'étire sur 920px ou se colle à gauche. */
.team-grid.team-grid--solo{grid-template-columns:minmax(0,320px);justify-content:center;max-width:none}
@media (max-width:900px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.team-grid{grid-template-columns:1fr}}

/* Checklists inherit the section's text colour on cream backgrounds */
.on-cream .checks li{color:#5c4f46}

/* ---- Cibles tactiles ------------------------------------------------- 
   Sur mobile, un lien isolé doit offrir une surface d'au moins 44px de haut.
   Les liens insérés au fil d'une phrase en sont dispensés (exception « lien
   dans le texte » de la règle WCAG 2.5.8) : on ne touche qu'aux liens qui
   vivent seuls : bas de carte, coordonnées, plan de site. */
@media (max-width:1090px), (pointer:coarse){
  .card .more{display:inline-block;padding:12px 0;margin-top:10px}
  .checks li a{display:inline-block;padding:11px 0}
  .hero-cta .btn,.band .btn{min-height:52px}
}

/* ---- Types d'investissement locatif ----------------------------------
   Demandé par la note du 08/09 : depuis la page financement, les six types
   doivent être atteignables en un clic. « Types d'investissement locatif »
   et non « stratégies » — le mot est réservé à l'approche de la maison. */
.typelist-lead{margin-top:40px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:var(--rose-deep)}
.typelist{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.typelist a{display:inline-block;padding:9px 18px;border-radius:30px;font-size:13.5px;
  color:var(--rose);border:1px solid rgba(230,176,140,.4);background:rgba(230,176,140,.06);
  transition:.25s}
.typelist a:hover{border-color:var(--rose);background:rgba(230,176,140,.14);color:var(--rose-light)}
.on-cream .typelist a{color:#8B4E24;border-color:rgba(201,138,107,.42);background:rgba(230,176,140,.09)}
