/* ÉtudZen — mise en page du site */
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-alt { background: var(--ice-50); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(12,27,76,.06); }
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-items span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; color: var(--cyan-300); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.nav-logo img { height: 58px; width: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { font: 500 15px/1 var(--font-sans); color: var(--navy-900); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--blue-600); }
.nav-links a[aria-current="page"] { color: var(--blue-600); border-bottom-color: var(--blue-600); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--navy-900); cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }

/* Héros accueil */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--ice-50) 0%, #fff 48%); }
.hero-media { position: absolute; inset: 0 0 0 44%; background-size: cover; background-position: center top; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%); }
.hero-inner { position: relative; padding: 76px 0 150px; max-width: 600px; }
.hero .lead { max-width: 540px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; margin: 6px 0 18px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-sig { position: absolute; right: 4%; bottom: 120px; width: 230px; filter: drop-shadow(0 2px 6px rgba(255,255,255,.8)); }

.service-row { position: relative; z-index: 2; margin-top: -96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { display: flex; align-items: center; gap: 20px; padding: 24px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(12,27,76,.14); }
.service-card h3 { font-size: 20px; margin: 0 0 4px; }
.service-card p { font-size: 14px; line-height: 1.45; margin: 0; }
.service-card .go { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); color: var(--blue-600); }
.service-card:hover .go { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.service-card .go .ico { width: 16px; height: 16px; }

/* Héros pages intérieures */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--grad-navy); }
.page-hero-media { position: absolute; inset: 0 0 0 45%; background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); opacity: .9; }
.page-hero .wrap { position: relative; padding: 70px 0 92px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); max-width: 640px; }
.page-hero p { color: var(--on-dark-muted); max-width: 560px; font-size: 18px; }
.crumbs { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: none; }
.wave-bottom { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; width: 100%; }

/* Grilles */
.grid-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 3 / 2; }
.photo-stack { position: relative; }
.photo-stack .photo-small { position: absolute; width: 46%; right: -18px; bottom: -36px; border: 6px solid #fff; }
.photo-cap { position: relative; }
.photo-cap figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px; color: #fff; font: 600 16px/1.2 var(--font-display); background: linear-gradient(0deg, rgba(6,22,56,.85), transparent); }

/* Cartes */
.card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 30px; }
.card h3 { font-size: 21px; margin-top: 18px; }
.card p { font-size: 15px; margin: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font: 600 15px var(--font-display); text-decoration: none; }
.card-link .ico { width: 18px; height: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ice-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b63c1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .badge { margin: 0 auto 14px; width: 72px; height: 72px; position: relative; }
.step .num { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan-300); color: var(--navy-900); font: 700 13px/26px var(--font-display); }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { font-size: 13.5px; line-height: 1.45; margin: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 46px); right: calc(-50% + 46px); height: 2px; background: repeating-linear-gradient(90deg, var(--sky-400) 0 8px, transparent 8px 14px); }

/* Destinations */
.dest { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-card); text-decoration: none; color: inherit; }
.dest img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform .4s; }
.dest:hover img { transform: scale(1.04); }
.dest-label { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font: 700 20px var(--font-display); color: var(--navy-900); }
.flag { display: inline-flex; width: 32px; height: 21px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(12,27,76,.12); flex: none; }
.flag i { flex: 1; }
.flag.h { flex-direction: column; }

/* Atouts */
.features { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { text-align: center; padding: 10px 18px; color: var(--navy-800); }
.feature + .feature { border-left: 1px solid var(--line); }
.feature .ico { width: 40px; height: 40px; stroke-width: 1.7; margin: 0 auto 10px; }
.feature strong { display: block; font: 600 17px/1.3 var(--font-display); color: var(--navy-900); }
.feature span { font-size: 14px; color: var(--slate-600); }

/* Bandeaux */
.band { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; }
.band .wrap { position: relative; display: flex; align-items: center; gap: 40px; padding: 56px 0; }
.band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 8px; }
.band p { color: var(--on-dark-muted); margin: 0; max-width: 560px; }
.band .actions { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }
.band-media { position: absolute; inset: 0 55% 0 0; background-size: cover; background-position: center; opacity: .35; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }

/* Galerie agence */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 26px 14px 10px; font: 600 14px var(--font-display); color: #fff; background: linear-gradient(0deg, rgba(6,22,56,.85), transparent); }

/* Valeurs */
.value { text-align: left; }
.value .badge { width: 56px; height: 56px; }

/* Contenu long */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.note { background: var(--ice-50); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 22px; font-size: 15px; }
.note strong { color: var(--navy-900); }

/* Solutions détaillées */
.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.solution:first-of-type { border-top: 0; }
.solution.rev .solution-media { order: 2; }
.solution h2 { font-size: clamp(28px, 3.2vw, 38px); }
.tag { display: inline-block; font: 600 12px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); background: var(--ice-100); padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 12px; }

/* Onglets destinations */
.country { display: grid; grid-template-columns: 420px 1fr; gap: 44px; padding: 56px 0; border-top: 1px solid var(--line); align-items: start; }
.country:first-of-type { border-top: 0; }
.country h2 { display: flex; align-items: center; gap: 14px; font-size: 34px; }
.country .flag { width: 42px; height: 28px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.fact { background: var(--ice-50); border-radius: var(--radius-md); padding: 16px 18px; }
.fact strong { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: 16px; margin-bottom: 2px; }
.fact span { font-size: 14px; }

/* Articles */
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 20px; }
.post-body p { font-size: 15px; }
.post-meta { font-size: 12.5px; color: var(--slate-500); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.post details { margin-top: auto; }
.post summary { cursor: pointer; font: 600 15px var(--font-display); color: var(--blue-600); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.post summary::-webkit-details-marker { display: none; }
.post details[open] summary { margin-bottom: 10px; }
.post details ul { padding-left: 1.1em; font-size: 14.5px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font: 600 17px/1.35 var(--font-display); color: var(--navy-900); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--ice-100); color: var(--blue-600); display: grid; place-items: center; font: 600 20px/28px var(--font-sans); text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; }

/* Formulaire */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 14px var(--font-display); color: var(--navy-900); }
.field input, .field select, .field textarea { font: 400 15px var(--font-sans); color: var(--navy-900); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: 2px solid rgba(11,99,193,.2); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.consent input { margin-top: 4px; }
.form-ok { display: none; grid-column: 1 / -1; background: #e9f8ef; border: 1px solid #9ad5b0; color: #10542d; border-radius: var(--radius-md); padding: 16px 18px; }
.form-ok.show { display: block; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.contact-card .badge { width: 48px; height: 48px; }
.contact-card .badge .ico { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: 16px; }
.contact-card span, .contact-card a { font-size: 15px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots label { cursor: pointer; position: relative; }
.slots input { position: absolute; opacity: 0; left: 0; top: 0; width: 1px; height: 1px; }
.slots span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-size: 14px; color: var(--navy-900); }
.slots input:checked + span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.slots input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Pied */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: 14.5px; }
.site-footer .wrap { padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-logo { height: 62px; width: auto; margin-bottom: 18px; }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact .ico { width: 18px; height: 18px; color: var(--cyan-300); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.socials .ico { width: 19px; height: 19px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #128c4a; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.wa-float .ico { width: 28px; height: 28px; }

/* Apparition */
.reveal.in { animation: rise .6s ease both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .nav .btn { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step:nth-child(3)::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(12,27,76,.12); padding: 8px 20px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); }
  .topbar .tb-hide { display: none; }
  .hero-media { inset: 0; opacity: .22; -webkit-mask-image: none; mask-image: none; }
  .hero-inner { padding: 56px 0 130px; }
  .hero-sig { display: none; }
  .service-row, .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .solution, .country { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .solution.rev .solution-media { order: 0; }
  .grid-4, .features { grid-template-columns: 1fr 1fr; }
  .feature + .feature { border-left: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .page-hero-media { inset: 0; opacity: .25; -webkit-mask-image: none; mask-image: none; }
  .band .wrap { flex-direction: column; align-items: flex-start; }
  .band .actions { margin-left: 0; }
  .photo-stack .photo-small { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { display: none; }
  .nav { min-height: 70px; }
  .nav-logo img { height: 46px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .form { grid-template-columns: minmax(0,1fr); }
  .facts { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery figure { height: 200px; }
  .gallery figure:first-child { grid-column: auto; }
}
