:root {
    --dark: #33343a;
    --dark2: #28292f;
    --green: #42b99d;
    --green2: #25a96e;
    --blue: #3c59bf;
    --orange: #ffb52e;
    --bg: #fff;
    --soft: #f5f5f5;
    --grey: #dedede;
    --text: #17191f;
    --muted: #61636b;
    --border: #dadde3;
    --max: 960px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.58;
    background: #fff
}

a {
    color: #1e56c5
}

a:hover {
    text-decoration: none
}

img {
    max-width: 100%;
    height: auto
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto
}

.skip-link {
    position: absolute;
    left: -999px
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: #fff;
    color: #000;
    padding: .65rem;
    z-index: 99
}

.site-header {
    background: var(--dark);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 2px 8px #0004
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--green);
    font-size: 17px;
    letter-spacing: .2px
}

.brand img {
    width: 58px
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 25px 10px;
    font-size: 14px
}

.nav a:hover,
.nav a:focus,
.nav a.active {
    background: var(--dark2);
    color: #79e1c6
}

.nav-toggle {
    display: none
}

.nav-label {
    display: none;
    background: #2360d3;
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 7px 10px;
    font-size: 20px;
    cursor: pointer
}

.hero {
    min-height: 500px;
    background: linear-gradient(#0005, #0007), url('../images/voiture_route.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center
}

.hero .container {
    max-width: 780px
}

.kicker {
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff
}

.hero h1 {
    font-size: 31px;
    line-height: 1.18;
    margin: 0 0 18px;
    text-shadow: 0 2px 4px #0007
}

.hero p {
    font-size: 16px;
    text-shadow: 0 1px 2px #000;
    margin: 10px auto;
    max-width: 720px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1.2
}

.btn-primary {
    background: var(--green2);
    color: #fff
}

.btn-orange {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 12px #0002
}

.btn-outline {
    background: #fff;
    color: #1f2330
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px
}

.section {
    padding: 58px 0
}

.section h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 22px
}

.section h3 {
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 10px
}

.lead {
    font-size: 18px;
    color: #363943
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 22px;
    box-shadow: 0 1px 0 #0000000c
}

.card ul {
    padding-left: 19px
}

.card p:last-child,
.card ul:last-child {
    margin-bottom: 0
}

.palms {
    background: linear-gradient(90deg, #fff 0, #fffffff0 48%, #ffffffb8), url('../images/photo-3.jpg') center/cover no-repeat
}

.palms .container {
    max-width: 820px
}

.blue-zone {
    background: var(--blue);
    color: #111
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.vehicle-grid .card {
    border: 0
}

.docs {
    background: var(--grey)
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.doc {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

/* ---------------- Documents PDF ---------------- */

.card.doc {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
}

.pdf-link {
    text-decoration: none;
    flex-shrink: 0;
}

.pdf-icon {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: all .25s ease;
    cursor: pointer;
    user-select: none;
}

.pdf-icon:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .25);
}

.doc-content h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.doc-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.doc-open {
    margin-top: 8px;
}

.doc-open a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
}

.doc-open a:hover {
    text-decoration: underline;
}

.info {
    background: #fff
}

.country-title {
    color: #00a58a;
    font-weight: 700;
    border-bottom: 1px solid #888;
    padding-bottom: 10px
}

.faq {
    margin-top: 22px;
    border-top: 1px solid #bbb
}

.faq details {
    border-bottom: 1px solid #bbb;
    padding: 12px 0
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #20242b
}

.contact {
    background: linear-gradient(#0004, #0006), url('../images/subscribe-2000x1333.jpg') center/cover no-repeat;
    color: #fff
}

.contact-box {
    max-width: 640px
}

.fake-form {
    background: #ffffff1f;
    border: 1px solid #ffffff33;
    padding: 18px;
    border-radius: 6px;
    backdrop-filter: blur(2px)
}

.fake-form label {
    display: block;
    margin-top: 12px;
    font-weight: 700
}

.fake-form input,
.fake-form textarea {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 3px
}

.fake-form textarea {
    min-height: 96px
}

.footer {
    background: var(--dark);
    color: #eee;
    padding: 44px 0;
    font-size: 14px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px
}

.footer a {
    color: #fff;
    text-decoration: none
}

.footer a:hover {
    text-decoration: underline
}

.logo-footer {
    width: 75px;
    margin-bottom: 8px
}

.legal-line {
    font-size: 13px;
    color: #ddd
}

/* ---------- Liens partenaires ---------- */

.partner-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color .25s ease;
}

.partner-links a:hover {
    color: #6dbb2d;
    /* Même vert que le menu */
}

.toplink {
    position: fixed;
    right: 12px;
    bottom: 12px;
    background: #ffffffd9;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    text-decoration: none;
    color: #333;
    z-index: 80;
    cursor: pointer
}

.page-hero {
    background: #fafafa;
    padding: 62px 0 34px;
    text-align: center
}

.page-hero h1 {
    font-size: 31px;
    margin: 0 0 14px
}

.page-hero p {
    max-width: 740px;
    margin: 0 auto 22px
}

.boxed {
    max-width: 920px;
    margin: auto;
    border: 1px solid #bbb;
    padding: 26px;
    background: #fff
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.step-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--green2);
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.mini-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px;
    text-align: left
}

.reassurance {
    background: #f3f5fb
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    padding: 0;
    list-style: none
}

.check-list li:before {
    content: '✓';
    color: var(--green2);
    font-weight: 700;
    margin-right: 8px
}

.final-cta {
    text-align: center;
    background: var(--blue);
    color: #fff
}

.final-cta a {
    color: #fff
}

.notice {
    border-left: 4px solid var(--orange);
    background: #fff7e8;
    padding: 14px 16px
}

.small {
    font-size: 13px;
    color: var(--muted)
}

@media (max-width:800px) {
    body {
        font-size: 15px
    }

    .header-inner {
        min-height: 62px
    }

    .brand span {
        font-size: 14px
    }

    .brand img {
        width: 48px
    }

    .nav-label {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 62px;
        background: var(--dark);
        padding: 8px 16px;
        border-top: 1px solid #555
    }

    .nav a {
        display: block;
        padding: 13px 8px
    }

    .nav-toggle:checked~.nav {
        display: block
    }

    .hero {
        min-height: 430px;
        padding: 58px 0
    }

    .hero h1,
    .page-hero h1 {
        font-size: 25px
    }

    .cards-3,
    .vehicle-grid,
    .doc-grid,
    .footer-grid,
    .split,
    .steps,
    .icon-grid,
    .check-list {
        grid-template-columns: 1fr
    }

    .section {
        padding: 42px 0
    }

    .palms {
        background: linear-gradient(#fffffff2, #fffffff2), url('../images/photo-3.jpg') center/cover no-repeat
    }

    .card,
    .boxed {
        padding: 18px
    }

    .container {
        width: min(100% - 24px, var(--max))
    }
}

@media (max-width:430px) {
    .cta-row .btn {
        width: 100%;
        text-align: center
    }

    .hero h1,
    .page-hero h1 {
        font-size: 23px
    }

    .brand {
        gap: 8px
    }
}

/*==================================================
=            BLOC DEVIS / SOUSCRIPTION             =
==================================================*/

.subscription-box {
    max-width: 1000px;
    margin: 50px auto;
    border-radius: 18px;
    overflow: hidden;
    background: #f5f6f8;
    border: 1px solid #dde2eb;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.subscription-head {
    background: #11192d;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
}

.subscription-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #26c281;
    box-shadow: 0 0 10px rgba(38, 194, 129, .50);
}

.subscription-body {
    padding: 40px;
    text-align: center;
}

.subscription-body h2 {
    margin: 0;
    color: #4d4d4d;
    font-size: 42px;
}

.subscription-intro {
    margin: 18px auto 35px;
    max-width: 700px;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.subscription-frame-wrap {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

.subscription-frame {
    width: 100%;
    height: 480px;
    min-height: 480px;
    border: none;
    display: block;
    overflow: hidden;
    transition: height .25s ease;
}

.subscription-footer {
    background: #eef3fb;
    border-top: 1px solid #d8dfe8;
    padding: 18px;
    text-align: center;
    color: #4c5f7c;
    font-size: 15px;
}

/*============================
=          MOBILE           =
============================*/

@media(max-width:900px) {
    .subscription-box {
        margin: 30px 15px;
    }

    .subscription-body {
        padding: 25px;
    }

    .subscription-body h2 {
        font-size: 30px;
    }

    .subscription-intro {
        font-size: 16px;
    }

    .subscription-frame-wrap {
        padding: 15px;
    }

}

/* ---------- Page Mentions légales ---------- */
.legal-page{
    background:#f7f7f7;
}

.legal-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
    max-width:920px;
}

.legal-card h2{
    border-bottom:1px solid var(--border);
    padding-bottom:12px;
    margin-bottom:18px;
}

.legal-list{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:10px 20px;
    margin:0;
}

.legal-list dt{
    font-weight:700;
    color:#33343a;
}

.legal-list dd{
    margin:0;
    color:#444;
}

@media(max-width:700px){
    .legal-list{
        grid-template-columns:1fr;
        gap:4px 0;
    }

    .legal-list dd{
        margin-bottom:14px;
    }
}
