/* =====================
   VARIABLES COULEURS
===================== */
/*:root {
    --sunset: #F9A03F;
    --night-blue: #0A1A2F;
    --white: #ffffff;
}*/
:root {
    /* ======================
       BLEUS (STRUCTURE)
    ====================== */
    --deep-blue-dark: #020c1a;
    --deep-blue: #0F172A;        /* fond principal */
    --deep-blue-2: #1E293B;      /* sections */
    --deep-blue-3: #334155;      /* hover / cards */

    /* ======================
       BEIGES (LUMIÈRE)
    ====================== */
    --warm-beige: #EADBC8;       /* accent principal */
    --warm-beige-soft: #F5EDE4;  /* fonds légers */
    --warm-beige-muted: #D6C2A8; /* texte secondaire */

    /* ======================
       BRUN / ORANGE (SIGNATURE)
    ====================== */
    --accent: #C17C4A;           /* brun orangé chic */
    --accent-strong: #A65F2E;    /* hover / actif */
    --accent-soft: #D9A273;      /* version douce */
    --accent-ultra-soft: #F1D2B6;/* très léger */

    /* ======================
       NEUTRES
    ====================== */
    --white: #F8FAFC;
    --text-soft: rgba(248,250,252,0.75);
    --border-subtle: rgba(255,255,255,0.08);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}


/* =====================
   TITRES PRINCIPAUX
===================== */
.title {
    font-size: clamp(36px, 5vw, 56px); /* un peu plus contenu */
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--deep-blue);

    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    margin-bottom: 40px;
}

/* Ligne signature sous le titre */
.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 72px;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--accent-strong),
        var(--accent-ultra-soft)
    );
}

/* INTRO */
.intro {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 80px;
}









/* ================= MENU TOP CENTRÉ ================= */

.main-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.nav-top {
    width: 100%;
    padding: 26px 0;

    display: flex;
    justify-content: center;

    background: linear-gradient(
        to bottom,
        rgba(10,26,47,0.75),
        rgba(10,26,47,0.35),
        transparent
    );
}

/* MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    z-index: 30;
}

/* LOGO */
.nav-logo img {
    width: 60px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo a:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* LIENS */
.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 6px 2px;

    transition: color 0.3s ease;
}

/* SOULIGNEMENT FIN */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

/* HOVER & ACTIF */
.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 110%;
}


/* BOUTON HAMBURGER MOBILE */
.mobile-nav-toggle {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);

    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;

    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

/* Position initiale */
.mobile-nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.mobile-nav-toggle span:nth-child(2) {
    transform: translateY(0);
}

.mobile-nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

/* Position active */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}


/* MENU MOBILE */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 80%;
    max-width: 320px;
    height: 100vh;

    background: var(--deep-blue-dark);
    padding: 120px 32px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 20;
}

.mobile-nav a {
    display: block;
    padding: 14px 18px;

    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;

    transition:
        color 0.25s ease,
        transform 0.2s ease;
}

.mobile-nav a:hover {
    color: var(--accent-soft);
    transform: translateX(4px);
}

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px 18px;

    border: 1px solid var(--accent-strong);
    background: var(--deep-blue);

    text-transform: uppercase;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mobile-nav.open {
    transform: translateX(0);
}



/* RESPONSIVE */
@media (max-width: 768px) {
    /* Laisse le menu du haut toujours affiché en haut de page */
    .main-header {
        position: fixed;
    }

    /* Cache tous les liens desktop */
    .nav-menu li:not(.nav-logo) {
        display: none;
    }

    /* Garde le logo */
    .nav-top {
        justify-content: flex-start;
        padding-left: 24px;
    }

    /* Affiche le hamburger */
    .mobile-nav-toggle {
        display: flex;
    }
}










/* ================= HERO IMMERSIF ================= */

.hero-bg {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: var(--deep-blue);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGES EN BACKGROUND */
.hero-images {
    position: absolute;
    overflow: hidden;
    inset: 0;
}

.hero-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.35) contrast(1.05);
    animation: heroSlide 24s infinite;
}

/* Décalages */
.hero-images img:nth-child(1) { animation-delay: 0s; }
.hero-images img:nth-child(2) { animation-delay: 6s; }
.hero-images img:nth-child(3) { animation-delay: 12s; }
.hero-images img:nth-child(4) { animation-delay: 18s; }

@keyframes heroSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1;
    }
    40% {
        opacity: 1;
        transform: scale(1.08);
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* ================= CONTENU CENTRAL ================= */

.hero-content {
    position: relative;
    z-index: 2;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-end;

    padding: 55px 40px 55px 40px;
    gap: 14px;
}

/* BASE COMMUNE */
.hero-content::before,
.hero-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 10%;
    border-color: var(--accent);
    border-style: solid;
}

/* CROCHET HAUT GAUCHE */
.hero-content::before {
    top: 0;
    border-width: 1px 1px 0 1px;
}

/* CROCHET HAUT DROIT */
.hero-content::after {
    bottom: 0;
    border-width: 0 1px 1px 1px;
}


/* SEPARATOR */
.hero-separator {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin: 12px 0 6px;
}

/* TITRES */
.hero-content h1 {
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--warm-beige);
}

.hero-content h2 {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 400;
    letter-spacing: 0.6px;
    color: var(--white);
}

/* CITATION */
.hero-content blockquote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    color: var(--warm-beige);
    max-width: 560px;
}

/* BOUTON */
.hero-btn {
    margin-top: 20px;
    padding: 14px 34px;

    border: 1px solid var(--accent);
    border-radius: 0;

    background: var(--deep-blue);
    color: var(--white);

    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Hover sobre */
.hero-btn:hover {
    background: var(--deep-blue-3);
    color: var(--warm-beige-soft);
}

.header-socials {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.header-socials img {
    width: 48px;
    height: 48px;
    display: block;
}


@media (max-width: 768px) {
    .hero-content::before,
    .hero-content::after {
        display: none;
    }

    .hero-content h1 {
        font-weight: 600;
    }

    .hero-content h2 {
        font-weight: 400;
    }

    .hero-btn {
        display: none;
    }
}








/* ================= ABOUT ================= */

.about-section {
    background: var(--warm-beige);
    color: var(--deep-blue-2);
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.about-container {
    max-width: 980px;
    margin: 0 auto;
}

/* SPLIT TEXTE / IMAGE */
.about-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

/* TEXTE */
.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 26px;
}

.about-text strong,
.about-final-text strong,
.about-conclusion strong {
    font-weight: 600;
}

/* PHOTO */
.about-photo {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: auto;

    aspect-ratio: 3 / 4; /* PROPORTION FIXE */
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* clé absolue */
    object-position: center;
}


/* CITATION */
.about-quote-wrapper {
    position: relative;
    margin-top: 100px;
    margin-bottom: 100px;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;

    background: var(--deep-blue-3);

    padding: 80px 20px;
}

/* CONTENU */
.about-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* TEXTE */
.about-quote p {
    font-size: 20px;        /* taille réduite */
    font-style: italic;
    line-height: 1.6;
    color: var(--warm-beige-soft);
    margin-bottom: 18px;
}

/* SIGNATURE */
.about-quote cite {
    display: block;
    font-size: 14px;
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-soft);
}


/* TEXTE FINAL */
.about-final-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin: 100px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* PHOTO */
.about-final-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* TEXTE */
.about-final-text p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--deep-blue-2);
    margin-bottom: 26px;
}

/* CONCLUSION */
.about-conclusion-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("../images/spartan_hugo_pfeiffer.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow: hidden;
}

/* Overlay sombre pour lisibilité */
.about-conclusion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(10,26,47,0.75),
        rgba(10,26,47,0.85)
    );
    z-index: 1;
}

/* Contenu */
.about-conclusion-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 80px 20px;
    text-align: center;
}

/* Texte */
.about-conclusion-content p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 28px;
    color: var(--white);
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo {
        max-width: 320px;
        margin: 0 auto;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-intro {
        font-size: 20px;
    }

    .about-quote-wrapper {
        padding: 60px 16px;
    }

    .about-quote p {
        font-size: 17px;
    }

    .about-final-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-final-photo {
        max-width: 420px;
        margin: 0 auto;
    }

    .about-conclusion {
        font-size: 16px;
        padding: 0 10px;
    }
}










/* ================= SERVICES ================= */
.services-section {
    padding-top: 100px;
    background: var(--warm-beige-muted);
    color: var(--deep-blue);
}

.services-title-intro {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}

/* NAV CONTAINER */
.services-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 0;
    backdrop-filter: blur(6px);
}

/* TABS */
.service-tab {
    background: rgba(15,23,42,0.15); /* bleu très léger */
    border: none;
    color: var(--deep-blue-3);
    font-size: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 16px 32px;
    position: relative;
    transition: 
        color 0.3s ease,
        background 0.3s ease;
}

/* HOVER */
.service-tab:hover {
    color: var(--deep-blue);
    background: rgba(193,124,74,0.2); /* accent soft */
}

/* ACTIVE */
.service-tab.active {
    color: var(--deep-blue);
    background: rgba(193,124,74,0.4);
}

/* INDICATEUR ACTIF */
.service-tab.active::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--accent-strong);
    transform: translateX(-50%);
    opacity: 0.9;
}

/* SEPARATION VISUELLE SUBTILE */
.service-tab:not(:last-child)::before {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(15,23,42,0.08);
}


/* PANELS */
.services-content {
    position: relative;
    margin: 0 auto;
    padding: 100px 20px 100px 20px;
    min-height: 80vh;
    color: var(--warm-beige-soft);

    background-size: cover;
    background-position: center;
}

/* overlay sombre pour lisibilité */
.services-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,23,42,0.85),
        rgba(15,23,42,0.95)
    );
    z-index: 0;
}

.services-content > * {
    position: relative;
    z-index: 1;
}

.services-content.bg-vision {
    background-image: url("../images/services/vision.jpg");
}

.services-content.bg-offres {
    background-image: url("../images/services/offres.jpg");
}

.services-content.bg-psy {
    background-image: url("../images/services/psy.jpg");
}


.service-panel {
    display: none;
    animation: fadeSlide 0.6s ease forwards;
    text-align: center;
    font-size: 17px;
}

.service-panel h3 {
    font-size: 22px;
}

.service-panel.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PILIERS */
.pillars {
    display: grid;
    max-width: 1200px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin: 150px auto;
    text-align: start;
    justify-content: center;
}

/* OFFRES */
.offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row: center;
    gap: 20px;
    margin-top: 80px;
}

.offer {
    padding: 30px;
    border: 1px solid var(--border-subtle);
}

.offer.premium {
    border-color: rgba(193,124,74,0.5);
}

.pillar h4,
.offer h4 {
    color: var(--accent);
    margin-bottom: 15px;
}

.offer ul {
    padding-left: 20px;
    line-height: 1.6;
    text-align: start;
}

/* PSY */
.psy-points {
    margin: 120px auto;
    padding: 30px;
    max-width: 700px;
    background: transparent;
    border-radius: 16px;
    border: 1px solid rgba(193,124,74,0.4);
    box-shadow: 0 10px 30px rgba(15,23,42,0.15);
    list-style: none;
}

.psy-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--white);
    text-align: start;
}

/* Suppression du dernier margin */
.psy-points li:last-child {
    margin-bottom: 0;
}

/* Icône personnalisée */
.psy-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Effet léger au survol */
.psy-points li:hover {
    color: var(--warm-beige);
    transform: translateX(4px);
    transition: all 0.2s ease;
}

.psy-quote {
    font-style: italic;
    text-align: center;
    color: var(--accent-soft);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .pillars {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .offers {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}








/* ================= REVIEWS ================= */

.reviews-section {
    padding: 140px 20px;
    background: var(--warm-beige);
    color: var(--deep-blue);
    text-align: center;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* HEADER */
.reviews-header h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.reviews-intro {
    color: rgba(10,26,47,0.7);
    margin-bottom: 60px;
    font-size: 16px;
}

/* WIDGET */
.reviews-widget {
    margin-bottom: 60px;
    background: #fff;
}

/* Placeholder visuel si pas encore intégré */
.google-widget-placeholder {
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* CTA */
.google-review-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--deep-blue-2);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.google-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10,26,47,0.4);
}

/* NOTE */
.reviews-note {
    margin-top: 30px;
    font-size: 13px;
    opacity: 0.6;
}












/* ================= PRENDRE RDV ================= */
.booking-section {
    padding: 140px 20px;
    background: var(--deep-blue-2);
    color: var(--warm-beige-soft);
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.booking-info h2 {
    margin-bottom: 20px;
}

.booking-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.booking-calendar {
    width: 100%;
}

.calendly-inline-widget {
    width: 100%;
    height: 800px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .booking-info {
        order: -1; /* texte au-dessus */
    }

    .calendly-inline-widget {
        height: 700px;
    }
}
















/* ================= CONTACT ================= */

.contact-section {
    padding: 140px 20px;
    background: var(--warm-beige);
    color: var(--deep-blue);
    min-height: 100vh;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

/* INTRO */
.contact-lead {
    font-size: 18px;
    color: var(--deep-blue);
    margin: 20px auto;
}

.contact-intro p {
    line-height: 1.7;
    color: rgba(10,26,47,0.85);
}

.contact-note {
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

/* FORMULAIRE */
.contact-form {
    background: rgba(10,26,47,0.02);
    padding: 40px;
    border: 1px solid rgba(10,26,47,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: rgba(10,26,47,0.6);
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(10,26,47,0.2);
    padding: 10px 4px;
    color: var(--deep-blue);
    font-size: 15px;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 40px;
    max-height: 400px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-blue);
}

/* BOUTON */
.contact-submit {
    margin-top: 20px;
    padding: 14px 30px;
    background: var(--deep-blue);
    border: none;
    color: var(--warm-beige-soft);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(10,26,47,0.35);
}

.contact-disclaimer {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}













/* ================= ANIMATION APPARITION ================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .hero-content::before {
        inset: 25px;
    }

    .hero-content blockquote {
        font-size: 16px;
    }
}











/* ================= LEGAL PAGE ================= */

/* HERO */
.legal-hero {
    position: relative;
    height: 50vh;
    background-image: url("../images/head/hyrox6_hugo_pfeiffer.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,26,47,0.75);
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.legal-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--warm-beige);
    margin-bottom: 10px;
}

.legal-hero p {
    color: rgba(255,255,255,0.8);
}

/* SECTION */
.legal-section {
    background: #0A1A2F;
    padding: 100px 20px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

/* BLOCS */
.legal-block {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-block h2 {
    font-size: 22px;
    color: var(--warm-beige);
    margin-bottom: 15px;
}

.legal-block p {
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
}

.legal-block ul {
    padding-left: 20px;
    color: rgba(255,255,255,0.75);
}

.legal-block li {
    margin-bottom: 5px;
}

.legal-link {
    position: relative;
    color: var(--warm-beige);
    text-decoration: none;
    font-weight: 500;
}

.legal-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--warm-beige);
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
    .legal-section {
        padding: 60px 20px;
    }

    .legal-block {
        margin-bottom: 40px;
    }
}














/* ---------------- SCROLL TO TOP ---------------- */
#scrollTopBtn {
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 27px;
    background: var(--accent-strong); /* fond discret */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#scrollTopBtn img {
    width: 30px;
    height: 30px;
}

#scrollTopBtn:hover {
    background: var(--accent);
    transform: translateY(0) scale(1.1);
}

/* visible */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* responsive */
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    #scrollTopBtn img {
        width: 25px;
        height: 25px;
    }
}











/* ================= FOOTER ================= */

.site-footer {
    background: #081424;
    color: rgba(255,255,255,0.75);
    padding-top: 100px;
}

/* CONTAINER */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 80px;
}

/* BRAND */
/* BRAND HEADER */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-name {
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

/* LOGO */
.footer-brand img {
    width: 34px;
    opacity: 0.85;
}

.footer-home-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.footer-baseline {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}

/* TITRES */
.site-footer h4 {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;
}

/* NAV */
.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}

/* INFOS */
.footer-info a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-socials {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-socials img {
    width: 22px;
    height: 22px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-note {
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.6;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-legal a {
    margin-left: 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .footer-brand-header {
        flex-direction: column;
        gap: 12px;
    }

    .footer-brand img {
        margin: 0 auto 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal a {
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer-socials {
        justify-content: center;
    }
}
