/* ============================================================
   ORIENTIS CONSEIL INTERNATIONAL — Design system v2
   Palette alignée sur l'identité réelle (style.css d'origine) :
   navy #071A3D / gold #AC8A1F. Poppins + Fraunces.
   ============================================================ */

:root{
  --navy-950:#050f22;
  --navy-900:#071A3D;
  --navy-800:#0d2a5e;
  --navy-700:#173c73;
  --navy-line:rgba(255,255,255,.14);
  --ivoire:#faf7ef;
  --ivoire-deep:#f2ecdc;
  --ink:#1a1a2e;
  --ink-soft:#565f7e;
  --gold:#ffc400;
  --gold-hover:#E0A326;
  --gold-soft:#f4e9c9;

  /* Les 4 pôles restent identifiables mais dans la seule famille bleu nuit / or,
     conformément à l'identité de marque (plus de sarcelle/bleu clair/vert/violet). */
  --etudes:#E0A326;  --etudes-soft:#f6ecc9;  --etudes-ink:#E0A326;
  --voyage:#173c73;  --voyage-soft:#e6ebf5;  --voyage-ink:#071A3D;
  --sante:#E0A326;   --sante-soft:#efe4c2;   --sante-ink:#E0A326;
  --conseil:#0d2a5e; --conseil-soft:#dfe4ee; --conseil-ink:#050f22;

  /* overridden per-section via body[data-section] below */
  --accent:var(--gold);
  --accent-soft:var(--gold-soft);
  --accent-ink:var(--gold-hover);

  --radius-lg:26px; --radius-md:16px; --radius-sm:10px;
  --shadow-soft:0 24px 60px -24px rgba(7,26,61,.35);
  --shadow-card:0 12px 30px -14px rgba(7,26,61,.28);
  --ff-display:'Fraunces', serif;
  --ff-body:'Poppins', sans-serif;
}
body[data-section="etudes"]{ --accent:var(--etudes); --accent-soft:var(--etudes-soft); --accent-ink:var(--etudes-ink); }
body[data-section="voyages"]{ --accent:var(--voyage); --accent-soft:var(--voyage-soft); --accent-ink:var(--voyage-ink); }
body[data-section="sante"]{ --accent:var(--sante); --accent-soft:var(--sante-soft); --accent-ink:var(--sante-ink); }
body[data-section="conseil"]{ --accent:var(--conseil); --accent-soft:var(--conseil-soft); --accent-ink:var(--conseil-ink); }

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}
body{margin:0; font-family:var(--ff-body); color:var(--ink); background:var(--ivoire); -webkit-font-smoothing:antialiased; overflow-x:hidden;}
img,svg{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
h1,h2,h3,h4{margin:0; font-family:var(--ff-display); font-weight:600; line-height:1.1; letter-spacing:-.01em;}
p{margin:0;}
button{font-family:inherit;}
table{border-collapse:collapse; width:100%;}
:focus-visible{outline:2.5px solid var(--gold); outline-offset:3px; border-radius:4px;}
.wrap{max-width:1220px; margin:0 auto; padding:0 32px;}
@media (max-width:680px){.wrap{padding:0 20px;}}
.skip-link{position:absolute; left:-999px; top:0; background:var(--navy-900); color:#fff; padding:12px 20px; z-index:999; border-radius:0 0 8px 0;}
.skip-link:focus{left:0;}

.eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-hover);}
.eyebrow::before{content:''; width:22px; height:1.5px; background:var(--gold); display:inline-block;}
.eyebrow.on-dark{color:var(--gold-soft);}
.eyebrow.on-dark::before{background:var(--gold-soft);}
.eyebrow.accent{color:var(--accent-ink);}
.eyebrow.accent::before{background:var(--accent);}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:15px 28px; border-radius:999px; font-weight:600; font-size:15px; border:1.5px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; white-space:nowrap;}
.btn:hover{transform:translateY(-2px);}
.btn-gold{background:var(--gold); color:#221a04; box-shadow:0 14px 30px -12px rgba(172,138,31,.55);}
.btn-gold:hover{background:var(--gold-hover); color:#fff;}
.btn-ghost-light{background:transparent; color:#fff; border-color:rgba(255,255,255,.5);}
.btn-ghost-light:hover{background:rgba(255,255,255,.12); border-color:#fff;}
.btn-navy{background:var(--navy-900); color:#fff;}
.btn-navy:hover{background:var(--navy-700);}
.btn-accent{background:var(--accent); color:#fff;}
.btn-accent:hover{filter:brightness(.9);}
.btn-sm{padding:11px 20px; font-size:13.5px;}
.btn-block{width:100%;}

/* ---------- HEADER ---------- */
header.site-header{position:fixed; top:0; left:0; right:0; z-index:500; padding:20px 0; transition:background .35s ease, padding .35s ease, box-shadow .35s ease;}
header.site-header.solid{background:rgba(7,26,61,.96); backdrop-filter:blur(10px); padding:13px 0; box-shadow:0 8px 24px -14px rgba(0,0,0,.4);}
header.site-header .wrap{display:flex; align-items:center; justify-content:space-between; gap:24px;}
.logo{display:flex; align-items:center; gap:11px; color:#fff;}
.logo img{width:38px; height:38px; flex-shrink:0; object-fit:contain;}
.logo-text{display:flex; flex-direction:column; line-height:1.1;}
.logo-text b{font-family:var(--ff-display); font-size:18px; font-weight:600; letter-spacing:.01em;}
.logo-text span{font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); opacity:.85;}
nav.main-nav{display:flex; align-items:center; gap:32px;}
nav.main-nav a{color:#fff; font-size:14.5px; font-weight:500; opacity:.88; position:relative; padding:4px 0;}
nav.main-nav a::after{content:''; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--gold); transform:scaleX(0); transition:transform .25s ease;}
nav.main-nav a:hover,nav.main-nav a.active{opacity:1;}
nav.main-nav a:hover::after,nav.main-nav a.active::after{transform:scaleX(1);}
.header-actions{display:flex; align-items:center; gap:14px;}
.burger{display:none; background:none; border:none; color:#fff; cursor:pointer; padding:6px;}
@media (max-width:980px){ nav.main-nav{display:none;} .burger{display:block;} }

#drawer{position:fixed; inset:0; background:var(--navy-950); z-index:600; transform:translateX(100%); transition:transform .35s ease; display:flex; flex-direction:column; padding:26px 26px 40px;}
#drawer.open{transform:translateX(0);}
#drawer .drawer-top{display:flex; justify-content:space-between; align-items:center; margin-bottom:40px;}
#drawer .drawer-close{background:none; border:none; color:#fff; cursor:pointer;}
#drawer nav{display:flex; flex-direction:column; gap:6px;}
#drawer nav a{color:#fff; font-size:21px; font-family:var(--ff-display); font-weight:500; padding:13px 4px; border-bottom:1px solid var(--navy-line);}
#drawer .btn{margin-top:26px;}

/* ---------- INNER HERO (subpages) ---------- */
.inner-hero{position:relative; background:var(--navy-950); color:#fff; padding:150px 0 74px; overflow:hidden;}
.inner-hero .hero-bg{position:absolute; inset:0; z-index:0;}
.inner-hero .hero-bg svg{width:100%; height:100%;}
.inner-hero .wrap{position:relative; z-index:1;}
.breadcrumb{display:flex; align-items:center; gap:8px; font-size:12.5px; color:rgba(255,255,255,.55); margin-bottom:18px;}
.breadcrumb a{color:rgba(255,255,255,.8);}
.breadcrumb a:hover{color:var(--gold-soft);}
.inner-hero h1{font-size:clamp(30px,4.4vw,48px); color:#fff; max-width:760px;}
.inner-hero p.lead{max-width:560px; margin-top:16px; font-size:16px; line-height:1.6; color:rgba(255,255,255,.75);}
.inner-hero .stat-chips{display:flex; gap:12px; flex-wrap:wrap; margin-top:26px;}
.inner-hero .stat-chips span{background:rgba(255,255,255,.08); border:1px solid var(--navy-line); border-radius:999px; padding:8px 16px; font-size:12.5px; color:#fff;}

/* ---------- GENERIC SECTIONS ---------- */
.section{padding:96px 0;}
.section-tight{padding:70px 0;}
@media (max-width:760px){.section{padding:64px 0;} .section-tight{padding:48px 0;}}
.section.on-navy{background:var(--navy-950); color:#fff;}
.section-head{max-width:640px; margin:0 auto 50px;}
.section-head.center{text-align:center;}
.section-head h2{font-size:clamp(26px,3.2vw,40px); color:var(--navy-900); margin:14px 0 12px;}
.section.on-navy .section-head h2{color:#fff;}
.section-head p{color:var(--ink-soft); font-size:15.5px; line-height:1.7;}
.section.on-navy .section-head p{color:rgba(255,255,255,.68);}

/* ---------- ICON GRID (services / avantages / features) ---------- */
.icon-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.icon-grid.cols-2{grid-template-columns:repeat(2,1fr);}
.icon-grid.cols-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:900px){.icon-grid,.icon-grid.cols-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.icon-grid,.icon-grid.cols-2,.icon-grid.cols-4{grid-template-columns:1fr;}}
.icon-card{background:#fff; border:1px solid #eee6d3; border-radius:var(--radius-md); padding:30px 26px; transition:transform .25s ease, box-shadow .25s ease;}
.icon-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-card);}
.icon-card .ic-badge{width:52px; height:52px; border-radius:14px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.icon-card .ic-badge svg{width:24px; height:24px; stroke:var(--accent-ink);}
.icon-card h3,.icon-card h4{font-family:var(--ff-body); font-weight:700; font-size:16.5px; color:var(--navy-900); margin-bottom:9px;}
.icon-card p{font-size:13.6px; color:var(--ink-soft); line-height:1.65;}
.icon-card ul{margin-top:12px; display:grid; gap:7px;}
.icon-card ul li{font-size:13px; color:var(--ink-soft); padding-left:16px; position:relative; line-height:1.5;}
.icon-card ul li::before{content:''; position:absolute; left:0; top:7px; width:6px; height:6px; border-radius:50%; background:var(--accent);}

/* on-navy variant of icon cards */
.section.on-navy .icon-card{background:var(--navy-900); border-color:var(--navy-line);}
.section.on-navy .icon-card h3,.section.on-navy .icon-card h4{color:#fff;}
.section.on-navy .icon-card p, .section.on-navy .icon-card ul li{color:rgba(255,255,255,.66);}

/* ---------- DESTINATION PICKER (flag cards) ---------- */
.dest-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media (max-width:900px){.dest-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.dest-grid{grid-template-columns:1fr;}}
.dest-card{position:relative; background:var(--navy-900); border-radius:var(--radius-md); padding:28px 24px; overflow:hidden; transition:transform .25s ease;}
.dest-card:hover{transform:translateY(-6px);}
.dest-card .flag-badge{width:52px; height:38px; border-radius:6px; margin-bottom:16px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:12px; color:#fff; letter-spacing:.03em;}
.dest-card h3{color:#fff; font-family:var(--ff-body); font-weight:700; font-size:17px; margin-bottom:8px;}
.dest-card p{color:rgba(255,255,255,.65); font-size:13.3px; line-height:1.6; margin-bottom:16px; min-height:64px;}
.dest-card .dest-link{display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--gold-soft);}
.dest-card .dest-link svg{width:13px; height:13px; transition:transform .2s ease;}
.dest-card:hover .dest-link svg{transform:translateX(4px);}

/* ---------- INFO TABLE (études : frais, visa, etc.) ---------- */
.info-card{background:#fff; border:1px solid #eee6d3; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-card);}
.info-card table td{padding:14px 20px; font-size:13.8px; border-bottom:1px solid #f0ead9; vertical-align:top;}
.info-card table tr:last-child td{border-bottom:none;}
.info-card table td:first-child{color:var(--navy-900); font-weight:600; width:38%; white-space:nowrap;}
.info-card table td:last-child{color:var(--ink-soft);}

/* ---------- TAG PILLS ---------- */
.tag-pills{display:flex; flex-wrap:wrap; gap:10px;}
.tag-pills span{background:var(--accent-soft); color:var(--accent-ink); font-size:12.8px; font-weight:600; padding:9px 16px; border-radius:999px;}

/* ---------- HIGHLIGHT GRID (voyage / sante) ---------- */
.highlight-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
@media (max-width:900px){.highlight-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.highlight-grid{grid-template-columns:1fr;}}
.highlight-card{background:#fff; border:1px solid #eee6d3; border-radius:var(--radius-sm); padding:22px 20px;}
.highlight-card .h-icon{width:40px; height:40px; border-radius:11px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom:14px;}
.highlight-card .h-icon svg{width:19px; height:19px; stroke:var(--accent-ink);}
.highlight-card h4{font-family:var(--ff-body); font-weight:700; font-size:14.5px; color:var(--navy-900); margin-bottom:7px;}
.highlight-card p{font-size:12.8px; color:var(--ink-soft); line-height:1.6;}

/* ---------- STEP FLOW (parcours / comment ça marche) ---------- */
.step-flow{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step;}
@media (max-width:900px){.step-flow{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.step-flow{grid-template-columns:1fr;}}
.step-card{position:relative; background:#fff; border:1px solid #eee6d3; border-radius:var(--radius-md); padding:30px 24px 26px; counter-increment:step;}
.step-card::before{content:counter(step, decimal-leading-zero); position:absolute; top:20px; right:22px; font-family:var(--ff-display); font-size:26px; color:var(--accent-soft); font-weight:600;}
.step-card h3,.step-card h4{font-family:var(--ff-body); font-weight:700; font-size:15.5px; color:var(--navy-900); margin-bottom:10px; padding-right:30px;}
.step-card p{font-size:13.3px; color:var(--ink-soft); line-height:1.6; margin-bottom:10px;}
.step-card ul{display:grid; gap:6px;}
.step-card ul li{font-size:12.5px; color:var(--ink-soft); padding-left:14px; position:relative;}
.step-card ul li::before{content:''; position:absolute; left:0; top:7px; width:5px; height:5px; border-radius:50%; background:var(--accent);}

/* ---------- PROGRAM BLOCK (formations style: title + text + list, alternating) ---------- */
.program-block{display:grid; grid-template-columns:.9fr 1.1fr; gap:50px; align-items:start; padding:44px 0; border-bottom:1px solid #ece4d0;}
.program-block:last-child{border-bottom:none;}
@media (max-width:800px){.program-block{grid-template-columns:1fr; gap:20px;}}
.program-block .pb-photo{width:100%; height:150px; border-radius:14px; overflow:hidden; margin-bottom:16px;}
.program-block .pb-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.program-block .pb-num{font-family:var(--ff-display); font-size:15px; color:var(--accent-ink); font-weight:600; margin-bottom:8px;}
.program-block h3{font-size:clamp(20px,2.4vw,26px); color:var(--navy-900); margin-bottom:12px;}
.program-block .pb-text p{color:var(--ink-soft); font-size:14.5px; line-height:1.75; margin-bottom:16px;}
.program-block .pb-text ul{display:grid; gap:9px;}
.program-block .pb-text ul li{font-size:13.5px; color:var(--ink); padding-left:20px; position:relative; line-height:1.55;}
.program-block .pb-text ul li::before{content:'';position:absolute; left:0; top:7px; width:7px; height:7px; border-radius:2px; background:var(--accent); transform:rotate(45deg);}

/* ---------- FORMATION CARD GRID (etudes formations.php style) ---------- */
.formation-group{margin-bottom:52px;}
.formation-group h2{font-size:clamp(22px,2.6vw,30px); color:var(--navy-900); margin-bottom:24px;}
.formation-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
@media (max-width:900px){.formation-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.formation-grid{grid-template-columns:1fr;}}
.formation-card{background:#fff; border:1px solid #eee6d3; border-radius:var(--radius-sm); padding:20px 20px;}
.formation-card h4{font-family:var(--ff-body); font-weight:700; font-size:14.5px; color:var(--navy-900); margin-bottom:7px;}
.formation-card p{font-size:12.6px; color:var(--ink-soft); line-height:1.55;}

/* ---------- TESTIMONIALS ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media (max-width:900px){.testi-grid{grid-template-columns:1fr; max-width:520px; margin:0 auto;}}
.testi-card{background:var(--navy-900); border:1px solid var(--navy-line); border-radius:var(--radius-md); padding:28px 24px;}
.testi-card .quote-mark{font-family:var(--ff-display); font-size:40px; color:var(--gold); line-height:.5; display:block; margin-bottom:8px;}
.testi-card p.qtext{font-size:14px; line-height:1.7; color:rgba(255,255,255,.85); margin-bottom:20px; min-height:100px;}
.testi-person{display:flex; align-items:center; gap:12px;}
.testi-person .ini{width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; color:#fff; flex-shrink:0; background:var(--gold-hover);}
.testi-person b{display:block; font-size:13.5px; color:#fff;}
.testi-person span{font-size:12px; color:rgba(255,255,255,.6);}

/* ---------- CTA BANNER ---------- */
.cta-banner{padding:0 0 100px;}
.cta-inner{background:linear-gradient(120deg, var(--navy-950), var(--navy-800)); border-radius:var(--radius-lg); padding:56px 56px; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; position:relative; overflow:hidden;}
.cta-inner .cta-copy{max-width:520px; position:relative; z-index:1;}
.cta-inner h3{color:#fff; font-size:clamp(21px,2.4vw,30px); margin-bottom:10px;}
.cta-inner p{color:rgba(255,255,255,.72); font-size:14.5px; line-height:1.6;}
.cta-inner .cta-actions{display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1;}
@media (max-width:760px){.cta-inner{padding:40px 28px;}}

/* ---------- CONTACT LAYOUT ---------- */
.contact-layout{display:grid; grid-template-columns:.85fr 1.15fr; gap:50px;}
@media (max-width:860px){.contact-layout{grid-template-columns:1fr;}}
.contact-info{background:var(--navy-900); border-radius:var(--radius-lg); padding:38px 34px; color:#fff;}
.contact-info h3{font-size:20px; color:#fff; margin-bottom:8px;}
.contact-info > p{color:rgba(255,255,255,.65); font-size:13.8px; margin-bottom:26px;}
.contact-info .ci-row{display:flex; gap:14px; align-items:flex-start; margin-bottom:20px;}
.contact-info .ci-row svg{width:19px; height:19px; color:var(--gold-soft); flex-shrink:0; margin-top:2px;}
.contact-info .ci-row b{display:block; font-size:13px; color:var(--gold-soft); text-transform:uppercase; letter-spacing:.05em; margin-bottom:3px;}
.contact-info .ci-row span,.contact-info .ci-row a{font-size:14.5px; color:#fff;}
.contact-form{background:#fff; border-radius:var(--radius-lg); padding:38px 34px; box-shadow:var(--shadow-card);}
.contact-form h3{font-size:19px; color:var(--navy-900); margin-bottom:6px;}
.contact-form > p.form-sub{color:var(--ink-soft); font-size:13.5px; margin-bottom:24px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
@media (max-width:520px){.form-row{grid-template-columns:1fr;}}
.form-field{margin-bottom:16px;}
.form-field label{display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:6px;}
.form-field input,.form-field select,.form-field textarea{width:100%; border:1.5px solid #e4dfd0; border-radius:var(--radius-sm); padding:12px 14px; font-family:inherit; font-size:14px; background:var(--ivoire); color:var(--ink);}
.form-field textarea{min-height:110px; resize:vertical;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--gold);}
.form-note{font-size:12px; color:var(--ink-soft); margin-top:10px;}
.form-status{font-size:13px; margin-top:12px; display:none;}
.form-status.show{display:block;}
.form-status.ok{color:#2c6b34;}
.form-status.err{color:#a13636;}

/* ---------- FOOTER ---------- */
footer.site-footer{background:var(--navy-950); color:rgba(255,255,255,.72); padding:76px 0 0;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:40px; padding-bottom:52px; border-bottom:1px solid var(--navy-line);}
@media (max-width:900px){.foot-grid{grid-template-columns:1fr 1fr; row-gap:36px;}}
@media (max-width:560px){.foot-grid{grid-template-columns:1fr;}}
.foot-brand .logo{margin-bottom:16px;}
.foot-brand p{font-size:13.3px; line-height:1.7; max-width:280px; margin-bottom:18px;}
.foot-social{display:flex; gap:10px;}
.foot-social a{width:35px; height:35px; border-radius:50%; border:1px solid var(--navy-line); display:flex; align-items:center; justify-content:center; transition:background .2s ease, border-color .2s ease;}
.foot-social a:hover{background:var(--gold); border-color:var(--gold);}
.foot-social a svg{width:15px; height:15px;}
footer h5{font-family:var(--ff-body); color:#fff; font-size:13.5px; font-weight:600; margin-bottom:18px; letter-spacing:.02em;}
footer .foot-links li{margin-bottom:11px; font-size:13.3px;}
footer .foot-links a:hover{color:var(--gold-soft);}
.foot-contact li{display:flex; gap:10px; font-size:13px; margin-bottom:13px; align-items:flex-start; line-height:1.5;}
.foot-contact svg{width:15px; height:15px; margin-top:2px; flex-shrink:0; color:var(--gold);}
.foot-bottom{padding:24px 0 28px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.2px;}
.foot-bottom a:hover{color:var(--gold-soft);}

/* ============================================================
   PHOTO IMAGERY SYSTEM
   Hero backgrounds, real flags, photo cards. Every overlay below
   is tuned so text stays fully readable on top of the photo.
   ============================================================ */

/* inner hero: photo fills the hero, dark gradient keeps title/text readable */
.inner-hero .hero-bg img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;}
.inner-hero .hero-bg .hero-overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,15,34,.58) 0%, rgba(5,15,34,.42) 38%, rgba(5,15,34,.95) 100%), linear-gradient(100deg, rgba(5,15,34,.82) 0%, rgba(5,15,34,.2) 62%);}

/* real flag images inside flag-badge (replaces the old plain-color fake flag) */
.flag-badge{overflow:hidden;}
.flag-badge img{width:100%; height:100%; object-fit:cover; display:block;}
.dest-card .flag-badge{background:rgba(255,255,255,.08); border:1px solid var(--navy-line);}

/* destination cards (dest-grid) with a photo background */
.dest-card.has-photo{background-size:cover; background-position:center;}
.dest-card.has-photo::before{content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(7,26,61,.2) 0%, rgba(5,15,34,.72) 55%, rgba(5,15,34,.96) 100%); z-index:0;}
.dest-card.has-photo > *{position:relative; z-index:1;}

/* quote / testimonial cards with a subtle photo background — overlay stays dark so the white quote text is always readable */
.testi-card.has-photo{position:relative; background-size:cover; background-position:center;}
.testi-card.has-photo::before{content:''; position:absolute; inset:0; background:linear-gradient(155deg, rgba(5,15,34,.94), rgba(7,26,61,.87)); border-radius:inherit;}
.testi-card.has-photo > *{position:relative; z-index:1;}

/* icon cards (services / spécialités / univers) with a photo header + text below */
.icon-card.has-photo{padding:0; overflow:hidden;}
.icon-card.has-photo .ic-photo{width:100%; height:148px; overflow:hidden;}
.icon-card.has-photo .ic-photo img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease;}
.icon-card.has-photo:hover .ic-photo img{transform:scale(1.06);}
.icon-card.has-photo .ic-body{padding:22px 24px 26px;}
.icon-card.has-photo .ic-badge{margin-bottom:14px;}

/* highlight cards (voyage / santé) with a small photo header */
.highlight-card.has-photo{padding:0; overflow:hidden;}
.highlight-card.has-photo .h-photo{width:100%; height:120px; overflow:hidden;}
.highlight-card.has-photo .h-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.highlight-card.has-photo .h-body{padding:18px 20px 22px;}

/* subtle full-bleed photo behind a section — overlay is nearly opaque so it only adds texture, text contrast is untouched */
.bg-photo{position:relative; background-size:cover; background-position:center;}
.bg-photo::before{content:''; position:absolute; inset:0; background:rgba(250,247,239,.95);}
.bg-photo.on-navy::before{background:rgba(5,15,34,.93);}
.bg-photo > .wrap{position:relative; z-index:1;}
@media (max-width:760px){.icon-card.has-photo .ic-photo{height:130px;}}

/* ---------- REVEAL ---------- */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ---------- TO TOP ---------- */
#toTop{position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%; background:var(--navy-900); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card); opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s ease, transform .2s ease; z-index:400;}
#toTop.show{opacity:1; visibility:visible;}
#toTop:hover{transform:translateY(-3px);}
#toTop svg{width:18px; height:18px; color:var(--gold);}

/* ---------- MISC ---------- */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
@media (max-width:900px){.two-col{grid-template-columns:1fr; gap:36px;}}
.center-text{text-align:center;}
.small-note{font-size:12.5px; color:var(--ink-soft);}
@media (max-width:900px){.step-flow{grid-template-columns:repeat(2,1fr) !important;}} @media (max-width:560px){.step-flow{grid-template-columns:1fr !important;}}
@media (max-width:1100px){.step-flow[style]{grid-template-columns:repeat(3,1fr) !important;}} @media (max-width:700px){.step-flow[style]{grid-template-columns:1fr !important;}}
