/* Expatriation Georgia : DA Géorgie, crème + anthracite + terre cuite + sable, Inter Display (titres), Inter (texte), base Bootstrap 5 */
:root {
  --anthracite: #252724;
  --anthracite-2: #383a36;
  --terra: #bf5446;
  --terra-2: #a8463a;
  --sand: #d7cab9;
  --cream: #f7f5f0;
  --ink: #252724;
  --muted: #66655f;
  --light: #efeae1;
  --line: #e2dbcf;
  --radius: 10px;
  --head: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-family: var(--body);
  --bs-body-bg: var(--cream);
  --bs-link-color-rgb: 168, 70, 58;
  --bs-link-hover-color-rgb: 37, 39, 36;
}

body { font-family: var(--body); color: var(--ink); background: var(--cream); font-size: 1rem; line-height: 1.65; padding-bottom: 60px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .hero-title, .sec-title, .card-title, .form-card-title { font-family: var(--head); font-optical-sizing: auto; font-weight: 500; letter-spacing: -.022em; color: var(--anthracite); }
a { color: var(--terra-2); text-underline-offset: 3px; }
strong { font-weight: 600; }

/* Boutons */
.btn { font-family: var(--head); font-weight: 500; border-radius: 8px; letter-spacing: .005em; }
.btn-navy { background: var(--anthracite); color: #fff; border: 0; padding: .6rem 1.15rem; }
.btn-navy:hover, .btn-navy:focus { background: var(--terra); color: #fff; }
.btn-gold { background: var(--terra); color: #fff; border: 0; }
.btn-gold:hover, .btn-gold:focus { background: var(--terra-2); color: #fff; }

/* Barre du haut + en-tête */
.topbar { background: var(--anthracite); color: #cfc8bb; font-size: .82rem; padding: .45rem 0; }
.topbar .bi { color: var(--terra); margin-right: .3rem; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--head); font-weight: 400; font-size: .78rem; color: var(--anthracite); letter-spacing: .3em; text-transform: uppercase; }
.brand-sub { font-family: var(--head); font-weight: 300; font-size: 1.55rem; letter-spacing: .08em; color: var(--anthracite); text-transform: uppercase; margin-top: .25rem; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--cream); }
.brand-light .brand-name { color: var(--sand); }
.navbar .nav-link { font-family: var(--head); font-weight: 500; color: var(--ink); font-size: .95rem; padding: .5rem .8rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.show { color: var(--terra-2); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); background: #fffefb; padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .8rem; font-size: .93rem; }
.dropdown-item:hover { background: var(--light); }
.dropdown-item:active { background: var(--anthracite); }

/* Hero : photo + voile anthracite, texte à gauche, formulaire à droite (en premier sur mobile) */
.hero { position: relative; padding: 3.5rem 0 4rem; color: #fff; background: var(--anthracite); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { z-index: 1; }
.hero > .container { z-index: 2; }
.hero-updated { font-size: .82rem; color: #a9a194; margin: -.6rem 0 1.1rem; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 31, 29, .9) 0%, rgba(30, 31, 29, .76) 48%, rgba(30, 31, 29, .4) 100%); }
.hero-crumbs { font-size: .85rem; margin-bottom: 1.2rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .75); }
.hero-crumbs a { color: #fff; }
.eyebrow { font-family: var(--head); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terra-2); margin-bottom: .7rem; }
.hero .eyebrow { color: var(--sand); }
.hero-title { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.12rem; color: #e6e0d5; margin-bottom: 1.3rem; }
.hero-lead strong { color: #fff; }
.hero-points li { display: flex; gap: .7rem; margin-bottom: .6rem; color: #f1ede6; }
.hero-points .bi { color: var(--sand); font-size: 1.1rem; line-height: 1.5; }
.hero-points strong { color: #fff; }
.hero-note { font-size: .92rem; color: #bdb5a7; margin-bottom: 0; }

/* Carte formulaire (Tally en 2 étapes) */
.form-card { background: #fffefb; color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(20, 20, 18, .3); overflow: hidden; }
.form-card-head { padding: 1.3rem 1.5rem .4rem; border-bottom: 1px solid var(--line); }
.form-card-title { font-size: 1.3rem; margin-bottom: .7rem; }
.form-steps { display: flex; gap: 1.2rem; margin: 0 0 .8rem; font-size: .85rem; color: var(--muted); font-weight: 500; }
.form-steps li { display: flex; align-items: center; gap: .45rem; }
.form-steps span { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--muted); font-family: var(--head); font-weight: 600; font-size: .8rem; }
.form-steps li.active { color: var(--anthracite); }
.form-steps li.active span { background: var(--terra); color: #fff; }
.form-card iframe { display: block; width: 100%; padding: .6rem 1rem 0; box-sizing: border-box; min-height: 420px; }
.form-card-foot { font-size: .78rem; color: var(--muted); padding: .2rem 1.5rem 1.1rem; margin: 0; }

/* Bandeau de confiance */
.trust-strip { background: #fffefb; border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item .bi { flex: 0 0 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: var(--light); color: var(--terra-2); font-size: 1.2rem; }
.trust-item strong { display: block; font-family: var(--head); color: var(--anthracite); font-size: .95rem; }
.trust-item span { display: block; font-size: .84rem; color: var(--muted); }

/* Sections */
.sec { padding: 4.5rem 0; }
.sec-white { background: var(--cream); }
.sec-light { background: var(--light); }
.sec-navy { background: var(--anthracite); color: #ddd6ca; }
.sec-navy .sec-title { color: #fff; }
.sec-navy .eyebrow { color: var(--sand); }
.sec-head { margin-bottom: 2rem; }
.sec-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.2; margin-bottom: .8rem; }
.sec-intro { color: var(--muted); font-size: 1.05rem; }
.sec-navy .sec-intro { color: #c4bcae; }
.sec-intro p:last-child, .sec-outro p:last-child { margin-bottom: 0; }
.sec-outro { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--terra-2); }
.split-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: 0 18px 40px rgba(37, 39, 36, .14); }

/* Notre avis */
.avis { display: flex; gap: 1rem; margin-top: 1.8rem; padding: 1.2rem 1.4rem; background: #fffefb; border: 1px solid var(--line); border-left: 3px solid var(--terra); border-radius: var(--radius); }
.avis > .bi { flex: 0 0 auto; font-size: 1.4rem; color: var(--terra-2); line-height: 1.2; }
.avis-label { font-family: var(--head); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--terra-2) !important; font-weight: 600; color: var(--anthracite); margin-bottom: .2rem; }
.sec-navy .avis { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #e8e2d8; }
.sec-navy .avis-label { color: var(--sand) !important; }

/* Étapes */
.steps { margin-bottom: 0; }
.step { background: #fffefb; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; position: relative; }
.sec-white .step { background: var(--light); border-color: transparent; }
.step-num { display: inline-block; font-family: var(--head); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--terra); margin-bottom: .5rem; }
.step-title { font-family: var(--head); font-weight: 600; color: var(--anthracite); margin-bottom: .35rem; line-height: 1.3; }
.step p:last-child { font-size: .93rem; color: var(--muted); }

/* Tableaux */
.table-wrap { background: #fffefb; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(37, 39, 36, .05); }
.table-eg { --bs-table-bg: #fffefb; margin: 0; }
.table-eg thead th { background: var(--anthracite); color: var(--cream); font-family: var(--head); font-weight: 500; font-size: .9rem; border: 0; padding: 1rem 1.2rem; }
.table-eg td, .table-eg tbody th { padding: 1rem 1.2rem; border-color: var(--line); font-size: .95rem; }
.table-eg tbody th { font-family: var(--head); font-weight: 600; color: var(--anthracite); }
.table-eg tbody tr:last-child > * { border-bottom: 0; }

/* Check-list */
.checklist { margin-bottom: 0; }
.check-item { display: flex; gap: .8rem; align-items: flex-start; background: #fffefb; border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; height: 100%; }
.sec-white .check-item { background: var(--light); border-color: transparent; }
.check-item .bi { flex: 0 0 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fff; font-size: .9rem; margin-top: .1rem; }

/* Cartes */
.card-eg { background: #fffefb; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card-eg:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37, 39, 36, .12); }
.card-eg .card-img-top { aspect-ratio: 16 / 10; object-fit: cover; height: auto; }
.card-eg .card-body { padding: 1.4rem; display: flex; flex-direction: column; }
.card-eg .card-title { font-size: 1.12rem; margin-bottom: .5rem; }
.card-eg .card-title a { color: var(--anthracite); text-decoration: none; }
.card-eg .card-text { color: var(--muted); font-size: .94rem; }
.card-icon { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--light); color: var(--terra-2); font-size: 1.3rem; margin-bottom: 1rem; }
.sec-light .card-icon { background: var(--cream); }
.card-more { margin-top: auto; font-family: var(--head); font-weight: 600; font-size: .88rem; color: var(--terra-2); }
.badge-eg { align-self: flex-start; background: var(--light); color: var(--terra-2); font-family: var(--head); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .4em .7em; margin-bottom: .7rem; }

/* Chiffres clés */
.figures { margin: 0; }
.figure-item { border-left: 2px solid var(--terra); padding: .2rem 0 .2rem 1.1rem; }
.figure-item dt { font-family: var(--head); font-weight: 300; font-size: 2.5rem; letter-spacing: -.02em; color: var(--cream); line-height: 1.1; }
.figure-item dd { margin: .4rem 0 0; font-size: .92rem; color: #c4bcae; }

/* FAQ */
.accordion-eg .accordion-item { background: #fffefb; border: 1px solid var(--line); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: .7rem; }
.accordion-eg .accordion-button { background: #fffefb; font-family: var(--head); font-weight: 600; color: var(--anthracite); font-size: .98rem; padding: 1rem 1.2rem; }
.accordion-eg .accordion-button:not(.collapsed) { background: var(--light); color: var(--anthracite); box-shadow: none; }
.accordion-eg .accordion-button:focus { box-shadow: 0 0 0 3px rgba(191, 84, 70, .25); }
.accordion-eg .accordion-body { color: var(--muted); padding: .2rem 1.2rem 1.1rem; background: var(--light); }
.accordion-eg .accordion-body p:last-child { margin-bottom: 0; }

/* Bandeau d'appel */
.sec-cta { padding: 3rem 0; background: var(--cream); }
.cta-box { background: var(--anthracite); color: #ddd6ca; border-radius: 14px; border-top: 3px solid var(--terra); padding: 2.6rem 2.8rem; }

/* Pour aller plus loin */
.related-link { display: flex; flex-direction: column; background: #fffefb; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.related-link:hover { border-color: var(--terra); box-shadow: 0 10px 26px rgba(37, 39, 36, .08); color: var(--ink); }
.related-title { font-family: var(--head); font-weight: 600; color: var(--anthracite); }
.related-desc { font-size: .88rem; color: var(--muted); margin: .25rem 0 .6rem; }
.related-link .bi { margin-top: auto; color: var(--terra-2); }

/* Pied de page */
.site-footer { background: #1e1f1d; color: #b3ac9f; padding: 4rem 0 1.5rem; font-size: .92rem; }
.site-footer a { color: #ddd6ca; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: .4rem; }
.footer-title { font-family: var(--head); font-weight: 600; color: #fff; margin-bottom: .8rem; }
.footer-prog { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-prog .list-inline-item { margin: 0 1rem .4rem 0; font-size: .86rem; }
.footer-disclaimer { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: #8c867b; }
.footer-copy { font-size: .8rem; color: #8c867b; margin: 0; }

/* Barre d'appel fixe */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: rgba(37, 39, 36, .97); color: #fff; padding: .55rem 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
.cta-bar p { font-size: .93rem; }
.cta-bar .bi { color: var(--sand); }
.cta-bar .btn { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 991.98px) {
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero::before { background: rgba(30, 31, 29, .86); }
  .hero-form { order: -1; }
  .sec { padding: 3.2rem 0; }
  .cta-box { padding: 2rem 1.5rem; }
}
@media (max-width: 575.98px) {
  .cta-bar p { font-size: .82rem; }
  .form-card-head { padding: 1rem 1.1rem .2rem; }
  .form-card iframe { padding: .4rem .5rem 0; }
  .trust-item .bi { flex-basis: 2.2rem; height: 2.2rem; font-size: 1rem; }
}

/* Menu : sous-menus ouverts au survol sur ordinateur (le clic reste actif sur mobile) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .navbar .dropdown > .dropdown-menu { top: 100%; }
  .navbar .dropdown:hover > .nav-link { color: var(--terra-2); }
  .navbar .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
.brand-logo { height: 52px; width: auto; }
@media (max-width: 575.98px) { .brand-logo { height: 42px; } }

/* Sélecteur de langue mobile (dans le menu replié) */
.lang-mobile { display: flex; gap: .5rem; padding: .6rem 0 .2rem; border-top: 1px solid rgba(11,37,69,.1); margin-top: .4rem; }
.lang-mobile a { font-size: .85rem; font-weight: 600; color: var(--navy, #0b2545); text-decoration: none; padding: .2rem .6rem; border: 1px solid rgba(11,37,69,.2); border-radius: .4rem; }
.lang-mobile a.active { background: var(--navy, #0b2545); color: #fff; }
.lang-links { display: inline-flex; align-items: center; gap: .7rem; }
.lang-links a { color: inherit; text-decoration: none; }
.lang-links a:hover, .lang-links a.active { color: #fff; }
.lang-links a.active { font-weight: 600; }

/* Landing /go/ : plein écran, sans header ni footer */
.go { position: relative; min-height: 100vh; padding: 1.5rem 0 1.2rem; color: #fff; background: var(--anthracite); overflow: hidden; display: flex; align-items: center; }
.go::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30, 31, 29, .92) 0%, rgba(30, 31, 29, .78) 50%, rgba(30, 31, 29, .5) 100%); }
.go > .container { z-index: 2; }
.go-logo { background: #fff; display: inline-block; padding: .55rem .9rem; border-radius: var(--radius); margin-bottom: 2rem; }
.go-logo img { height: 44px; width: auto; display: block; }
.go .eyebrow { color: var(--sand); }
.go-trust { margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.go-trust li { display: flex; gap: .9rem; align-items: flex-start; }
.go-trust .bi { font-size: 1.35rem; color: var(--sand); line-height: 1; margin-top: .15rem; }
.go-trust strong { display: block; font-weight: 600; }
.go-trust span { color: #d9d3c8; font-size: .92rem; }
.go-legal { margin: 2rem 0 0; font-size: .78rem; color: #a9a194; }
.go-legal a { color: #cfc8bb; }
@media (max-width: 991px) {
  .go { align-items: flex-start; }
  .go-logo { margin-bottom: 1.2rem; }
  .go-logo img { height: 36px; }
  .go-form { order: -1; }
  .go-text .hero-title { font-size: 1.6rem; }
}
body[data-no-auto-popup] { background: var(--anthracite); }
