/* =================================================================
   LOGISTISUD - Feuille de style principale
   Charte : bleu LGS (#0EA0D6) + jaune (#FFE600) + fonds clairs
   ================================================================= */

/* ---------- Reset & variables ---------- */
:root {
    --color-blue: #0EA0D6;
    --color-blue-dark: #0689C0;
    --color-blue-darker: #045E84;
    --color-blue-light: #7FD3F0;
    --color-blue-soft: #E7F4FB;
    --color-yellow: #FFE600;
    --color-yellow-dark: #E6CF00;
    --color-text: #1A1A1A;
    --color-text-soft: #4B5563;
    --color-text-light: #6B7280;
    --color-bg: #ffffff;
    --color-bg-soft: #F8FAFC;
    --color-border: #E5E7EB;
    --color-success: #10B981;
    --color-error: #EF4444;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 20px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.18);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
    --font-display: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-blue-dark);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-soft);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Header / Navigation ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--container);
    margin: 0 auto;
}

.nav__logo img {
    height: 60px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav__link {
    position: relative;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-yellow);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-blue);
}

.nav__link.active::after,
.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    background: var(--color-blue);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(14, 160, 214, 0.3);
}

.nav__cta:hover {
    background: var(--color-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 160, 214, 0.4);
}

.nav__cta::after { display: none; }

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
    position: relative;
    -webkit-tap-highlight-color: rgba(14, 160, 214, 0.15);
    touch-action: manipulation;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.nav__toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: all var(--transition);
    pointer-events: none;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-yellow);
    color: var(--color-text);
    box-shadow: 0 4px 14px rgba(255, 230, 0, 0.4);
}

.btn--primary:hover {
    background: var(--color-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 230, 0, 0.5);
    color: var(--color-text);
}

.btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--secondary:hover {
    background: #fff;
    color: var(--color-blue);
    border-color: #fff;
}

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

.btn--blue:hover {
    background: var(--color-blue-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: 5rem 0 4rem;
    isolation: isolate;
    background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 94, 132, 0.92) 0%, rgba(14, 160, 214, 0.78) 100%);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 230, 0, 0.95);
    color: var(--color-text);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero__title strong { color: var(--color-yellow); }

.hero__subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 640px;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Page header (pages internes) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue) 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.12) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover { color: var(--color-yellow); }

/* ---------- Sections ---------- */
.section {
    padding: 5rem 0;
}

.section--soft {
    background: var(--color-bg-soft);
}

.section--blue {
    background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue) 100%);
    color: #fff;
}

.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255, 255, 255, 0.92); }

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section__eyebrow {
    display: inline-block;
    color: var(--color-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section--blue .section__eyebrow { color: var(--color-yellow); }

.section__lead {
    font-size: 1.1rem;
    color: var(--color-text-soft);
}

/* ---------- Grid de cartes ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-blue-light);
}

.card:hover::before {
    transform: scaleX(1);
}

.card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-blue-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-blue);
    font-size: 1.5rem;
}

.card__title {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.card__text {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- Stats / Chiffres clés ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat__number {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: var(--color-yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.stat__label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---------- Process / Timeline ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
}

.process__step {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.process__step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.process__number {
    width: 60px;
    height: 60px;
    background: var(--color-yellow);
    color: var(--color-text);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 12px rgba(255, 230, 0, 0.4);
}

.process__title {
    color: var(--color-blue);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.process__step ul {
    text-align: left;
    margin-top: 1rem;
    padding-left: 0;
}

.process__step li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--color-text-soft);
    font-size: 0.92rem;
}

.process__step li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--color-blue);
    border-radius: 50%;
}

/* ---------- Liste enrichie ---------- */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem 2rem;
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-yellow);
}

.feature-list li strong {
    color: var(--color-blue-darker);
    display: block;
    margin-bottom: 0.25rem;
}

.feature-list .check {
    color: var(--color-blue);
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1;
}

/* ---------- Split content (texte + image) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split--reverse .split__image { order: -1; }

.split__image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
}

.split__text h2 {
    margin-bottom: 1.5rem;
}

/* ---------- Certifications ---------- */
.certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    color: var(--color-blue-darker);
}

.cert-badge__icon {
    width: 36px;
    height: 36px;
    background: var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 1.1rem;
}

/* ---------- Formulaire ---------- */
.form {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form__group {
    margin-bottom: 1.25rem;
}

.form__label {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form__label .required {
    color: var(--color-error);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: #fff;
    transition: all var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(14, 160, 214, 0.12);
}

.form__textarea {
    resize: vertical;
    min-height: 140px;
}

.form__submit {
    width: 100%;
    background: var(--color-yellow);
    color: var(--color-text);
    padding: 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.form__submit:hover {
    background: var(--color-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 230, 0, 0.45);
}

.form__notice {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form__notice--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form__notice--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ---------- Message de confirmation après envoi ---------- */
.form-success {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    border-top: 6px solid var(--color-success);
    animation: fadeUp 0.5s ease-out both;
}

.form-success__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.form-success__title {
    color: var(--color-success);
    margin-bottom: 0.75rem;
}

.form-success__text {
    color: var(--color-text-soft);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

/* ---------- Contact info ---------- */
.contact-info {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 230, 0, 0.15);
    color: var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-info__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
}

.contact-info__value {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-info__value a {
    color: #fff;
}

.contact-info__value a:hover {
    color: var(--color-yellow);
}

/* ---------- CTA section ---------- */
.cta {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 230, 0, 0.08);
    border-radius: 50%;
    transform: rotate(25deg);
}

.cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    position: relative;
}

/* ---------- Footer ---------- */
.footer {
    background: #0B1220;
    color: #94A3B8;
    padding: 4rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    height: 70px;
    margin-bottom: 1.25rem;
}

.footer__about {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94A3B8;
}

.footer__title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__list li {
    margin-bottom: 0.65rem;
}

.footer__list a {
    color: #94A3B8;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer__list a:hover {
    color: var(--color-yellow);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #CBD5E1;
    font-size: 0.95rem;
}

.footer__contact-item svg {
    flex-shrink: 0;
    color: var(--color-yellow);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748B;
    font-size: 0.85rem;
}

.footer__bottom a {
    color: #94A3B8;
}

.footer__bottom a:hover {
    color: var(--color-yellow);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border: 1px solid var(--color-border);
}

.cookie-banner.show { display: flex; }

.cookie-banner__text {
    flex: 1;
    min-width: 240px;
    font-size: 0.92rem;
    color: var(--color-text-soft);
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}

.cookie-btn--accept {
    background: var(--color-blue);
    color: #fff;
}

.cookie-btn--accept:hover {
    background: var(--color-blue-dark);
}

.cookie-btn--decline {
    background: transparent;
    color: var(--color-text-soft);
    border-color: var(--color-border);
}

.cookie-btn--decline:hover {
    background: var(--color-bg-soft);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.7s ease-out both;
}

.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.15s; }
.fade-up:nth-child(3) { animation-delay: 0.25s; }
.fade-up:nth-child(4) { animation-delay: 0.35s; }

/* Animation reveal : par défaut le contenu est visible (fallback no-JS).
   Quand JS est actif, il ajoute .js-ready au html → l'élément démarre invisible et s'anime à l'apparition à l'écran. */
[data-reveal] {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.js-ready [data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .nav__list {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.5rem 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .nav__list.active { transform: translateY(0); }
    .nav__list li { width: 100%; }
    .nav__link {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--color-border);
    }
    .nav__link::after { display: none; }
    .nav__cta {
        margin-top: 1rem;
        text-align: center;
    }
    .nav__toggle { display: flex; }

    .split { grid-template-columns: 1fr; gap: 2rem; }
    .split--reverse .split__image { order: 0; }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

    .form__row { grid-template-columns: 1fr; }

    .section { padding: 3.5rem 0; }
    .hero { min-height: 65vh; padding: 3rem 0; }
}

@media (max-width: 600px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .form { padding: 1.5rem; }
    .cta { padding: 3rem 0; }
}
