/* ==============================================
   GOOGLE FONTS
   ============================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Marcellus&family=Mulish:wght@300;400;500;600;700&family=Rubik:wght@400;500&display=swap');

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

:root {
    /* Colors */
    --color-off-white: #FAFAF8;
    --color-text: #762727;
    --color-text-light: #6B6B6B;
    --color-gold: #D4AF37;
    --color-gold-hover: #C4A030;
    --color-navy-dark: #0A2540;
    --color-navy: #1E3A5F;
    --color-footer: #1F4788;
    --color-white: #FFFFFF;
    --color-error: #C0392B;
    --color-success: #27AE60;
    --color-gray: #E5E5E0;
    --color-youtube: #FF0000;
    --color-spotify: #1DB954;
    --color-apple-podcast: #9933CC;

    /* Fonts */
    --font-display: 'Cinzel Decorative', cursive;
    --font-heading: 'Marcellus', serif;
    --font-body: 'Mulish', sans-serif;
    --font-credits: 'Rubik', sans-serif;

    /* Shadows */
    --shadow-soft: 0 2px 16px rgba(10, 37, 64, 0.06);
    --shadow-medium: 0 4px 24px rgba(10, 37, 64, 0.10);
    --shadow-strong: 0 8px 40px rgba(10, 37, 64, 0.14);

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-off-white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-navy-dark);
    line-height: 1.3;
    font-weight: 400;
}

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

a:hover {
    color: var(--color-gold-hover);
}

a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 2px;
}

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

/* ==============================================
   KEYFRAMES
   ============================================== */
@keyframes glow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(212, 175, 55, 0.3),
            0 0 20px rgba(212, 175, 55, 0.15);
    }
    50% {
        text-shadow:
            0 0 20px rgba(212, 175, 55, 0.6),
            0 0 40px rgba(212, 175, 55, 0.3),
            0 0 60px rgba(212, 175, 55, 0.15);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==============================================
   1. NAV BAR (.site-header)
   ============================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    padding: 0.85rem 1.5rem;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(10, 37, 64, 0.08);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand,
.site-name {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-navy-dark);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.nav-brand:hover,
.site-name:hover {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-body);
    color: var(--color-text-light);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-navy-dark);
}

.nav-link.active {
    color: var(--color-gold);
}

/* ==============================================
   2. HERO (.hero)
   ============================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 37, 64, 0.35) 0%,
        rgba(10, 37, 64, 0.50) 50%,
        rgba(10, 37, 64, 0.40) 100%
    );
    z-index: 1;
}

/* Subtle luminous glow overlay */
.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(ellipse at 50% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    line-height: 1.25;
}

/* Glow title effect */
.glow-title {
    transition: text-shadow 0.4s ease;
    cursor: pointer;
}

.glow-title:hover {
    text-shadow:
        0 0 12px rgba(212, 175, 55, 0.4),
        0 0 24px rgba(212, 175, 55, 0.2);
}

.glow-title.glow-active {
    animation: glow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto;
}

/* ==============================================
   3. FORM SECTION (.form-section)
   ============================================== */
.form-section {
    padding: 3rem 1.5rem;
    background-color: var(--color-off-white);
}

.form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 0.6rem;
    font-size: 1.5rem;
    color: var(--color-navy-dark);
}

.form-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Honeypot hidden */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.required {
    color: var(--color-gold);
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.2rem;
    border: none;
    border-bottom: 2px solid #999;
    border-radius: 0;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--color-text);
    background: transparent;
    transition: border-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-gold);
}

.form-group input.input-error {
    border-bottom-color: var(--color-error);
}

.form-group input.input-error:focus {
    border-bottom-color: var(--color-error);
}

.field-error {
    display: block;
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1.1em;
}

/* RGPD Checkbox */
.form-group-checkbox {
    margin-top: 1.4rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--color-navy-dark);
    cursor: pointer;
}

.checkbox-label a {
    text-decoration: underline;
    color: var(--color-navy);
}

.checkbox-label a:hover {
    color: var(--color-gold);
}

/* Primary Button */
.btn-primary {
    display: block;
    width: 100%;
    padding: 0.85rem 2rem;
    background: var(--color-navy-dark);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background var(--transition), transform var(--transition-fast), box-shadow var(--transition);
    margin-top: 0.8rem;
}

.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-primary:hover {
    background: var(--color-navy);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.25);
    transform: translateY(-2px);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 0;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.form-message.error {
    background: rgba(192, 57, 43, 0.06);
    color: var(--color-error);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(192, 57, 43, 0.15);
}

.form-message.success {
    background: rgba(39, 174, 96, 0.06);
    color: var(--color-success);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(39, 174, 96, 0.15);
}

/* ==============================================
   4. RESULT SECTION (.result-section)
   ============================================== */
.result-section {
    display: none;
    padding: 3rem 1.5rem;
    background: var(--color-off-white);
    text-align: center;
}

.result-section.visible {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

.result-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

/* Subtle golden top accent line */
.result-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 2px;
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.result-ange-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.3;
}

.result-text {
    font-family: var(--font-body);
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.result-text:last-of-type {
    margin-bottom: 2rem;
}

.result-section .btn-primary {
    display: inline-block;
    width: auto;
}

.result-section h2 {
    margin-bottom: 1.5rem;
}

/* ==============================================
   5. ABOUT SECTION (.about-section)
   ============================================== */
.about-section {
    padding: 3.5rem 1.5rem;
    background: var(--color-white);
}

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

.about-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-photo-wrapper {
    flex-shrink: 0;
    text-align: center;
}

.coach-photo {
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.10);
}

.coach-logo {
    display: block;
    max-height: 80px;
    margin: 1.5rem auto 0;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.coach-logo:hover {
    opacity: 1;
}

.about-text {
    text-align: center;
}

.about-text h2 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Podcast Links */
.podcast-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.podcast-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-white);
    transition: transform var(--transition-fast), box-shadow var(--transition);
    text-decoration: none;
}

.podcast-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

.podcast-links a.podcast-youtube {
    background: var(--color-youtube);
}

.podcast-links a.podcast-spotify {
    background: var(--color-spotify);
}

.podcast-links a.podcast-apple {
    background: var(--color-apple-podcast);
}

/* Podcast Section (full-width) */
.podcast-section {
    padding: 3rem 1.5rem;
    background: var(--color-off-white);
}

.podcast-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.podcast-cover {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
}

.podcast-info h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-navy-dark);
    margin-bottom: 1rem;
}

/* Secondary Button */
.btn-secondary {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.65rem 1.8rem;
    border: 2px solid var(--color-navy-dark);
    color: var(--color-navy-dark);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: var(--font-body);
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: var(--color-navy-dark);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

/* ==============================================
   6. FOOTER (.site-footer)
   ============================================== */
.site-footer {
    background-color: var(--color-footer);
    padding: 2rem 1.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.footer-left {
    order: 2;
}

.footer-center {
    order: 1;
}

.footer-right {
    order: 3;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.footer-links a {
    color: #FFFFFF;
    font-size: 0.82rem;
    font-family: var(--font-body);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-separator {
    color: #FFFFFF;
    margin: 0 0.5rem;
    user-select: none;
}

.footer-credits {
    font-family: var(--font-credits);
    color: #FFFFFF;
    font-size: 0.78rem;
    line-height: 1.6;
}

.footer-credits a {
    color: #FFFFFF;
    font-family: var(--font-credits);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-credits a:hover {
    color: var(--color-gold);
}

.footer-logo {
    max-height: 50px;
    opacity: 0.75;
    transition: opacity var(--transition);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copyright {
    color: #FFFFFF;
    font-size: 0.78rem;
}

.footer-contact a {
    color: #FFFFFF;
    font-size: 0.82rem;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

/* ==============================================
   7. LEGAL PAGES (.legal-page)
   ============================================== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-navy-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-page h2 {
    font-size: 1.25rem;
    color: var(--color-navy-dark);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-page h3 {
    font-size: 1.05rem;
    color: var(--color-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.legal-page p {
    margin-bottom: 0.8rem;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-page ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-page li {
    margin-bottom: 0.3rem;
}

.legal-page a {
    color: var(--color-navy);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--color-gold);
}

/* ==============================================
   8. ABOUT PAGE (.about-page)
   ============================================== */
.about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.about-page h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-navy-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-page h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-navy-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.about-page h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.about-page p {
    margin-bottom: 0.8rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-page ul,
.about-page ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-page ol > li {
    margin-bottom: 0.5rem;
    padding-left: 0.3rem;
}

.about-page ol > li::marker {
    color: var(--color-gold);
    font-weight: 600;
}

.about-page blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--color-gold);
    background: rgba(212, 175, 55, 0.04);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-page a {
    color: var(--color-navy);
    text-decoration: underline;
}

.about-page a:hover {
    color: var(--color-gold);
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==============================================
   RESPONSIVE - TABLET (min-width: 600px)
   ============================================== */
@media (min-width: 600px) {
    .hero {
        padding: 6rem 2rem 5rem;
        min-height: 460px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .form-container h2 {
        font-size: 1.6rem;
    }

    .result-ange-name {
        font-size: 2.4rem;
    }

    .about-text p {
        text-align: center;
    }

    .legal-page,
    .about-page {
        padding: 4rem 2rem;
    }

    .legal-page h1,
    .about-page h1 {
        font-size: 2rem;
    }
}

/* ==============================================
   RESPONSIVE - DESKTOP (min-width: 900px)
   ============================================== */
@media (min-width: 900px) {
    .hero {
        padding: 8rem 2rem 7rem;
        min-height: 560px;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* About section two-column layout */
    .about-inner {
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 3rem;
    }

    .about-photo-wrapper {
        flex-shrink: 0;
    }

    .coach-photo {
        width: 240px;
    }

    .about-text {
        text-align: right;
    }

    .about-text p {
        text-align: right;
    }

    .podcast-links {
        justify-content: flex-start;
    }

    /* Podcast section row layout */
    .podcast-container {
        flex-direction: row;
        text-align: left;
        gap: 2.5rem;
    }

    /* Footer horizontal layout */
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-left {
        order: 1;
    }

    .footer-center {
        order: 2;
        text-align: center;
    }

    .footer-right {
        order: 3;
    }

    /* Legal & About pages */
    .legal-page,
    .about-page {
        padding: 5rem 2rem;
    }

    .about-page h2 {
        font-size: 1.4rem;
    }
}

/* ==============================================
   RESPONSIVE - LARGE DESKTOP (min-width: 1200px)
   ============================================== */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 580px;
    }

    .about-container {
        max-width: 1000px;
    }

    .result-container {
        max-width: 680px;
    }
}

/* ==============================================
   PRINT STYLES
   ============================================== */
@media print {
    .site-header,
    .site-footer {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    .hero {
        background: none !important;
        padding: 1rem 0;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero h1 {
        color: #000;
    }
}
