/* OmraVisa trust system — public site and customer journey */
:root {
    --trust-950: #131316;
    --trust-900: #0d0d10;
    --trust-800: #131316;
    --trust-700: #155b48;
    --trust-600: #1f765a;
    --trust-100: #f1ede2;
    --trust-50: #f1ede2;
    --warm-50: #fbfaf6;
    --warm-100: #f5f0e4;
    --accent-500: #f07c1a;
    --accent-300: #ead48f;
    --success-700: #176447;
    --warning-700: #77550a;
    --danger-700: #963b2c;
    --text-900: #131316;
    --text-600: #5f6e67;
    --trust-shadow: 0 24px 72px rgba(8, 37, 31, .12);
}

html,
body {
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color: var(--text-900);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

h1,
h2,
h3,
.brand {
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body {
    text-rendering: optimizeLegibility;
}

:focus-visible {
    outline: 3px solid rgba(31, 118, 90, .25);
    outline-offset: 3px;
}

.btn {
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.18) 48%, transparent 75%);
    transform: translateX(-120%);
    transition: opacity .2s ease, transform .55s ease;
}

.btn:hover::before { opacity: 1; transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn span[aria-hidden="true"],
.btn > span:last-child { transition: transform .2s ease; }
.btn:hover span[aria-hidden="true"],
.btn:hover > span:last-child { transform: translateX(3px); }

/* Public site */
.nav-shell,
.hero-content,
.trust-strip,
.footer {
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.hero-content > p {
    color: rgba(255,255,255,.78);
    font-weight: 400;
}

.hero-trust strong { font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.hero-trust span { color: rgba(255,255,255,.68); }
.trust-strip { background: #f8f5ec; }
.trust-strip div { align-items: center; }
.trust-strip b {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: var(--success-700);
    background: #f1ede2;
    font-size: 11px;
}

/* Customer journey */
.flow-body {
    background:
        radial-gradient(circle at 14% 16%, rgba(207, 226, 216, .42), transparent 27%),
        radial-gradient(circle at 88% 82%, rgba(235, 217, 164, .23), transparent 24%),
        linear-gradient(145deg, #f8f7f2, #f2efe6);
}

.flow-nav {
    position: relative;
    z-index: 30;
    height: 82px;
    border-bottom-color: #f1ede2;
    box-shadow: 0 7px 25px rgba(8, 37, 31, .035);
}

.secure-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid #f1ede2;
    border-radius: 12px;
    color: var(--trust-800);
    background: var(--trust-50);
}

.secure-pill__pulse {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #2ea875;
    box-shadow: 0 0 0 5px rgba(46, 168, 117, .12);
    animation: trust-pulse 2.6s ease-out infinite;
}

.secure-pill__copy,
.flow-help {
    display: flex;
    flex-direction: column;
}

.secure-pill strong,
.flow-help > span {
    color: var(--text-900);
    font-size: 11px;
    line-height: 1.25;
}

.secure-pill small,
.flow-help small {
    margin-top: 2px;
    color: var(--text-600);
    font-size: 9px;
    line-height: 1.25;
}

.flow-nav .flow-help {
    margin-left: 0;
    color: var(--text-900);
    font-weight: 600;
}

.flow-main { padding-top: 30px; }
.flow-progress-shell { max-width: 840px; margin: 0 auto 25px; }
.flow-progress-shell .flow-steps { margin-bottom: 13px; }

.flow-step-assurance {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border: 1px solid #f1ede2;
    border-radius: 13px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 7px 22px rgba(8, 37, 31, .035);
    backdrop-filter: blur(8px);
}

.flow-step-assurance__icon {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    color: var(--trust-700);
    background: var(--trust-100);
}

.flow-step-assurance__icon svg { width: 17px; height: 17px; }
.flow-step-assurance__copy { display: flex; min-width: 0; flex-direction: column; }
.flow-step-assurance strong { font-size: 11px; line-height: 1.3; }
.flow-step-assurance small { margin-top: 2px; color: var(--text-600); font-size: 10px; line-height: 1.35; }
.flow-step-assurance__state {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: var(--success-700);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}
.flow-step-assurance__state i { width: 6px; height: 6px; border-radius: 50%; background: #2ea875; box-shadow: 0 0 0 4px rgba(46,168,117,.11); }

.flow-steps .active span {
    background: var(--trust-900);
    box-shadow: 0 0 0 5px rgba(21, 91, 72, .10), 0 0 0 9px rgba(21, 91, 72, .035);
}
.flow-steps .done span { background: #f1ede2; color: var(--trust-700); }
.flow-steps .active b,
.flow-steps .done b { color: var(--trust-800); }

.flow-card,
.pf-capture,
.vf-shell {
    border-color: #f1ede2;
    box-shadow: var(--trust-shadow);
}

.flow-heading h1,
.pf-capture__intro h1,
.vf-head h1 { color: var(--text-900); }

.flow-heading p,
.pf-capture__intro p,
.vf-head p { color: var(--text-600); }

.data-form label,
.admin-form label { color: #51615a; font-size: 12px; }
.data-form input,
.data-form select,
.data-form textarea {
    min-height: 45px;
    border-color: #f1ede2;
    font-size: 14px;
}
.data-form input:focus,
.data-form select:focus,
.data-form textarea:focus {
    border-color: var(--trust-600);
    box-shadow: 0 0 0 4px rgba(31,118,90,.10);
}

.consent,
.pf-consent,
.vf-confirm { color: #56665f; font-size: 12px; }
.legal-note { color: #5c6863; font-size: 11px; }
.payment-security { color: #53665e; font-size: 10px; }

.flow-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
}

.flow-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #f1ede2;
    border-radius: 16px;
    background: rgba(255,255,255,.74);
}

.flow-proof-strip > div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    padding: 15px 18px;
    border-right: 1px solid #f1ede2;
}
.flow-proof-strip > div:last-child { border-right: 0; }
.flow-proof-strip svg { width: 20px; height: 20px; color: var(--trust-700); }
.flow-proof-strip span { display: flex; flex-direction: column; }
.flow-proof-strip strong { font-size: 11px; }
.flow-proof-strip small { margin-top: 3px; color: var(--text-600); font-size: 9px; line-height: 1.35; }
.flow-footer .flow-legal { width: 100%; margin: 0; }

.flash-success { border: 1px solid #bfe1d0; background: #f1ede2; color: var(--success-700); }
.flash-warning { border-color: #e4cc8d; background: #fff7df; color: var(--warning-700); }
.flash-error { border: 1px solid #efc5bd; background: #fff0ed; color: var(--danger-700); }

.flow-card,
.pf-capture,
.vf-shell,
.checkout-layout,
.status-shell {
    animation: trust-enter .45s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes trust-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46,168,117,.24); }
    55%, 100% { box-shadow: 0 0 0 8px rgba(46,168,117,0); }
}

@keyframes trust-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
    .flow-nav { height: 72px; }
    .secure-pill { margin-left: auto; padding: 7px 9px; }
    .secure-pill__copy strong { font-size: 10px; }
    .secure-pill__copy small { display: none; }
    .flow-nav .flow-help { display: none; }
    .flow-progress-shell { margin-bottom: 18px; }
    .flow-step-assurance { align-items: flex-start; }
    .flow-step-assurance__state { display: none; }
    .flow-step-assurance small { font-size: 9px; }
    .flow-proof-strip { grid-template-columns: 1fr; }
    .flow-proof-strip > div { border-right: 0; border-bottom: 1px solid #f1ede2; }
    .flow-proof-strip > div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .secure-pill__pulse,
    .flow-card,
    .pf-capture,
    .vf-shell,
    .checkout-layout,
    .status-shell { animation: none !important; }
    .btn::before { display: none; }
}

/* Offer explanation and visa comparison guide */
.offer-ready-note,
.offer-quality-note {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 9px;
    align-items: start;
    margin: -3px 0 15px;
    padding: 11px;
    border-radius: 11px;
    font-size: 10px;
    line-height: 1.4;
}
.offer-ready-note { border: 1px solid #f1ede2; color: #285d49; background: #f1ede2; }
.offer-quality-note { border: 1px solid #ead7a7; color: #705516; background: #fff8e7; }
.offer-ready-note b,
.offer-quality-note b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #fff; }
.offer-ready-note span,
.offer-quality-note span { display: flex; flex-direction: column; }
.offer-ready-note strong,
.offer-quality-note strong { margin-bottom: 2px; color: var(--text-900); font-size: 10px; }
.choice-card ul { margin-bottom: 8px; }
.choice-card li { line-height: 1.45; }
.choice-card .offer-compare-list { display: grid; gap: 0; margin-top: 2px; }
.choice-card .offer-compare-list li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 9px;
    padding: 10px 0 10px 23px;
    border-bottom: 1px solid #f1ede2;
}
.choice-card .offer-compare-list li:last-child { border-bottom: 0; }
.offer-compare-list strong { color: var(--trust-700); font-size: 10px; line-height: 1.5; }
.offer-compare-list span { color: #42564e; font-size: 11px; line-height: 1.5; }

.visa-compare-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #f1ede2;
    border-radius: 14px;
    color: var(--trust-800);
    background: #f1ede2;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.visa-compare-link:hover { border-color: #94bdae; box-shadow: 0 10px 28px rgba(8,37,31,.07); transform: translateY(-1px); }
.visa-compare-link__icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--trust-700); font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight: 800; }
.visa-compare-link > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.visa-compare-link strong { font-size: 12px; }
.visa-compare-link small { margin-top: 3px; color: var(--text-600); font-size: 10px; }
.visa-compare-link > b { margin-left: auto; font-size: 10px; white-space: nowrap; }

.visa-guide-hero .section { padding-bottom: 92px; }
.visa-guide-hero p { max-width: 690px; font-size: 17px; line-height: 1.7; }
.visa-guide { width: min(1080px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 100px; }
.visa-guide-intro { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; margin-bottom: 34px; padding: 23px 25px; border: 1px solid #f1ede2; border-radius: 18px; background: #f1ede2; }
.visa-guide-intro__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: var(--trust-700); font-weight: 900; }
.visa-guide-intro strong { font: 800 15px Inter,system-ui,sans-serif; }
.visa-guide-intro p { margin: 5px 0 0; color: #496158; font-size: 14px; line-height: 1.65; }
.visa-guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.visa-guide-card { position: relative; padding: 31px; border: 1px solid #f1ede2; border-radius: 22px; background: #fff; box-shadow: 0 18px 55px rgba(8,37,31,.075); }
.visa-guide-card--express { border: 2px solid var(--trust-600); }
.visa-guide-card__tag { display: inline-flex; margin-bottom: 27px; padding: 7px 10px; border-radius: 999px; color: var(--trust-700); background: var(--trust-100); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.visa-guide-card--umrah .visa-guide-card__tag { color: #725614; background: #fff3d2; }
.visa-guide-card > small { display: block; color: var(--text-600); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.visa-guide-card h2 { margin: 6px 0; font-size: 29px; }
.visa-guide-card__subtitle { padding-bottom: 21px; border-bottom: 1px solid #f1ede2; color: var(--text-600); font-size: 12px; }
.visa-guide-card ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.visa-guide-card li { position: relative; padding-left: 24px; color: #131316; font-size: 13px; line-height: 1.45; }
.visa-guide-card li::before { position: absolute; left: 0; content: "✓"; color: var(--trust-600); font-weight: 900; }
.visa-guide-section { margin-top: 82px; }
.visa-guide-section__head { margin-bottom: 27px; }
.visa-guide-section__head h2,
.photo-guide h2,
.visa-guide-sources h2 { margin: 12px 0 0; font-size: clamp(30px,4vw,44px); letter-spacing: -.045em; }
.visa-table-wrap { overflow-x: auto; border: 1px solid #f1ede2; border-radius: 19px; background: #fff; box-shadow: 0 14px 45px rgba(8,37,31,.05); }
.visa-compare-table { min-width: 760px; }
.visa-compare-table th,
.visa-compare-table td { padding: 17px 19px; border-bottom: 1px solid #f1ede2; color: #3e5149; font-size: 12px; line-height: 1.5; vertical-align: top; }
.visa-compare-table thead th { color: #fff; background: var(--trust-900); font-size: 10px; }
.visa-compare-table tbody th { width: 190px; color: var(--text-900); background: #f1ede2; font-size: 11px; }
.visa-compare-table tr:last-child th,
.visa-compare-table tr:last-child td { border-bottom: 0; }
.photo-guide { display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; align-items: center; padding: 40px; border-radius: 25px; background: var(--warm-100); }
.photo-guide__copy p { margin: 18px 0 0; color: var(--text-600); font-size: 14px; line-height: 1.7; }
.photo-guide__visual { display: grid; grid-template-columns: 300px 1fr; gap: 25px; align-items: center; }
.photo-guide__exemples { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-guide__exemples img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border: 6px solid #fff; border-radius: 14px; background: #fff; box-shadow: 0 15px 35px rgba(8,37,31,.12); }
.photo-guide__portrait { display: grid; width: 145px; aspect-ratio: 3/4; place-items: end center; overflow: hidden; border: 8px solid #fff; border-radius: 16px; background: #fff; box-shadow: 0 15px 35px rgba(8,37,31,.12); }
.photo-guide__portrait::before { width: 66px; height: 82px; margin-bottom: 50px; border-radius: 48% 48% 44% 44%; content: ""; background: #bd8f72; box-shadow: 0 58px 0 25px #131316; }
.photo-guide__visual ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.photo-guide__visual li { position: relative; padding-left: 23px; color: #43564e; font-size: 12px; }
.photo-guide__visual li::before { position: absolute; left: 0; content: "✓"; color: var(--trust-600); font-weight: 900; }
.nusuk-note { display: grid; grid-template-columns: 45px 1fr; gap: 17px; margin-top: 30px; padding: 25px; border: 1px solid #ead291; border-radius: 18px; background: #fff8e4; }
.nusuk-note__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: #c25b06; font: 800 18px Inter,system-ui,sans-serif; }
.nusuk-note h2 { margin: 0 0 6px; font-size: 18px; }
.nusuk-note p { margin: 0; color: #6c571e; font-size: 13px; line-height: 1.6; }
.insurance-note { display: grid; grid-template-columns: 52px 1fr; gap: 20px; margin-top: 30px; padding: 28px; border: 1px solid #f1ede2; border-radius: 20px; background: #f1ede2; }
.insurance-note__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: #fff; background: var(--trust-700); font: 800 22px Inter,system-ui,sans-serif; }
.insurance-note h2 { margin: 9px 0 7px; font-size: 21px; }
.insurance-note p { max-width: 880px; margin: 0; color: #496158; font-size: 13px; line-height: 1.7; }
.visa-guide-sources { display: grid; grid-template-columns: 1fr .8fr; gap: 55px; align-items: end; margin-top: 80px; }
.visa-guide-sources p { max-width: 620px; margin: 16px 0 0; color: var(--text-600); font-size: 13px; line-height: 1.7; }
.visa-guide-sources ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #f1ede2; }
.visa-guide-sources li { border-bottom: 1px solid #f1ede2; }
.visa-guide-sources a { display: block; padding: 14px 2px; color: var(--trust-700); font-size: 12px; font-weight: 700; }
.visa-guide-cta { display: flex; align-items: center; gap: 30px; justify-content: space-between; margin-top: 80px; padding: 37px 40px; border-radius: 24px; color: #fff; background: var(--trust-900); box-shadow: var(--trust-shadow); }
.visa-guide-cta h2 { max-width: 650px; margin: 9px 0; font-size: clamp(28px,3vw,38px); }
.visa-guide-cta p { max-width: 650px; margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; }
.visa-guide-cta .btn { flex: 0 0 auto; }
.visa-guide-disclaimer { margin: 20px auto 0; color: var(--text-600); font-size: 10px; line-height: 1.55; text-align: center; }

@media(max-width:760px){
    .choice-card .offer-compare-list li { grid-template-columns: 64px 1fr; gap: 7px; }
    .visa-compare-link { align-items: flex-start; }
    .visa-compare-link > b { display: none; }
    .visa-guide-hero .section { padding-bottom: 68px; }
    .visa-guide { width: min(100% - 24px,1080px); padding-top: 40px; }
    .visa-guide-intro { grid-template-columns: 36px 1fr; padding: 18px; }
    .visa-guide-intro__icon { width: 36px; height: 36px; }
    .visa-guide-cards { grid-template-columns: 1fr; }
    .visa-guide-card { padding: 24px; }
    .visa-guide-section { margin-top: 58px; }
    .photo-guide { grid-template-columns: 1fr; gap: 27px; padding: 25px 20px; }
    .photo-guide__visual { grid-template-columns: 1fr; gap: 18px; }
    .photo-guide__exemples { max-width: 280px; margin: 0 auto; }
    .photo-guide__portrait { width: 112px; }
    .photo-guide__portrait::before { width: 53px; height: 66px; margin-bottom: 39px; box-shadow: 0 46px 0 20px #131316; }
    .insurance-note { grid-template-columns: 40px 1fr; padding: 20px 18px; }
    .insurance-note__icon { width: 40px; height: 40px; }
    .visa-guide-sources { grid-template-columns: 1fr; gap: 24px; margin-top: 58px; }
    .visa-guide-cta { align-items: stretch; flex-direction: column; padding: 28px 23px; }
    .visa-guide-cta .btn { width: 100%; }
}

/* Remboursement — action irréversible qui sort de l'argent.
   Encadré rouge assumé : ce bloc ne doit jamais se confondre avec le reste du
   formulaire de traitement. On veut que l'opérateur ralentisse avant de cliquer. */
.refund-form {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #efc5bd;
    border-radius: 12px;
    background: #fffaf9;
}

.refund-form h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #9a3425;
}

.refund-form__note {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: #6a4a44;
}

.refund-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.refund-form select {
    display: block;
    width: min(100%, 22rem);
    margin-top: 4px;
}

.refund-form__check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
}

.refund-form__check input {
    margin-top: 2px;
    accent-color: #9a3425;
}
