/* ==================== VARIABLES CSS ==================== */
:root {
    --accent: rgb(219, 255, 59);
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --text: #333;
    --border: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.85rem;
    color: var(--accent);
    background: #1a1a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-nav a.accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    background: rgba(219, 255, 59, 0.16);
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--transition);
}

.header-nav a.accent:hover,
.header-nav a.accent:focus {
    background: var(--accent);
    color: var(--dark);
    border-color: rgba(219, 255, 59, 0.35);
    transform: translateY(-1px);
}

.instagram-link {
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--light);
}

.instagram-link:hover {
    color: var(--accent);
    background: rgba(219, 255, 59, 0.1);
    transform: scale(1.05);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    overflow: hidden;
    max-width: 100%;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(120deg, var(--dark) 0%, var(--text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title br + span {
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.hero-subtitle .accent {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}

.hero-subtitle a.accent:hover {
    opacity: 0.95;
}

/* Variante 1: Background noir + texte accent */
.hero-subtitle .accent-dark {
    background: #1a1a1a;
    color: var(--accent);
}

/* Variante 2: Background accent + texte noir */
.hero-subtitle .accent-light {
    background: var(--accent);
    color: var(--dark);
}

/* Variante 3: Background accent + texte blanc */
.hero-subtitle .accent-white {
    background: var(--accent);
    color: #fff;
}

/* Variante 4: Contrôle (original) */
.hero-subtitle .accent-control {
    color: var(--accent);
    background: rgba(219, 255, 59, 0.15);
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid var(--accent);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-accent {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(219, 255, 59, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ==================== SECTIONS GÉNÉRALES ==================== */
.section {
    padding: 5rem 2rem;
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
}

.running-section .service-details {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--accent);
}

.running-section .service-details h4 {
    color: var(--accent);
}

.running-section .service-details li {
    color: #b0b0b0;
}

.hyrox-section .service-details {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--accent);
}

.hyrox-section .service-details h4 {
    color: var(--accent);
}

.hyrox-section .service-details li {
    color: #b0b0b0;
}

.service-details h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-details ul {
    list-style: none;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 2.2rem;
    position: relative;
    color: #666;
}

.service-details li:before {
    content: "→";
    position: absolute;
    left: 0;
    background: #1a1a1a;
    color: var(--accent);
    font-weight: bold;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* ==================== RUNNING SECTION ==================== */
.running-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5f5f5;
}

.running-section .section-title {
    color: #fff;
}

.running-content p:first-child {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-weight: 500;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.benefit-item p {
    font-size: 0.95rem;
    color: #b0b0b0;
}

.benefit-item:hover {
    border-color: #fff;
    background: rgba(219, 255, 59, 0.1);
}

.running-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(219, 255, 59, 0.3) 0%, rgba(219, 255, 59, 0.05) 100%);
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-element::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px dashed var(--accent);
    border-radius: 16px;
}

.visual-element::after {
    content: "👟";
    font-size: 120px;
    opacity: 1;
    z-index: 1;
}

/* ==================== WEIGHT LOSS SECTION ==================== */
.weight-section {
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
}

.weight-section .section-subtitle {
    background: #1a1a1a;
}

.weight-content p:first-child {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 500;
}

.transformation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    padding: 1.2rem 1.4rem;
    background: #fff;
    border-top: 4px solid var(--accent);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

.card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card p {
    font-size: 0.95rem;
    color: #666;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.weight-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.weight-visual .visual-element {
    background: linear-gradient(135deg, rgba(255, 200, 59, 0.3) 0%, rgba(255, 200, 59, 0.05) 100%);
}

.weight-visual .visual-element::before {
    border-color: rgb(255, 200, 59);
}

.weight-section .content-wrapper {
    grid-template-columns: 1fr 1fr;
}

/* ==================== HYROX SECTION ==================== */
.hyrox-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5f5f5;
}

.hyrox-section .section-title {
    color: #fff;
}

.hyrox-content p:first-child {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hyrox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hyrox-item {
    padding: 1.2rem 1.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

.hyrox-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.hyrox-item p {
    font-size: 0.95rem;
    color: #b0b0b0;
}

.hyrox-item:hover {
    border-color: #fff;
    background: rgba(219, 255, 59, 0.1);
}

.hyrox-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hyrox-visual .visual-element {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.3) 0%, rgba(0, 150, 255, 0.05) 100%);
}

.hyrox-visual .visual-element::before {
    border-color: #0096ff;
}

.weight-visual .visual-element::after {
    content: "💪";
}

.hyrox-visual .visual-element::after {
    content: "🏃";
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    text-align: center;
}

.about-section .section-subtitle {
    background: #1a1a1a;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
}

.about-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    background: #1a1a1a;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

.about-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
}

.testimonials-section .section-subtitle {
    background: #1a1a1a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.testimonial-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(219, 255, 59, 0.2) 0%, rgba(219, 255, 59, 0.05) 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.faq-section {
    background: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5f5f5;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-subtitle {
    background: transparent;
    color: var(--accent);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 255, 59, 0.1);
}

.g-recaptcha {
    margin: 1rem 0;
    transform: scale(0.9);
    transform-origin: 0 0;
}

.submit-button {
    background: var(--accent);
    color: var(--dark);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-button:active {
    transform: translateY(0);
}

.form-status {
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}

.contact-info {
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-info > p:nth-of-type(1) {
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    border-radius: 8px;
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-details p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-details a {
    color: var(--accent);
    background: #1a1a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.contact-details a:hover {
    color: var(--dark);
    background: var(--accent);
    text-decoration: none;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
    border-top: 2px solid var(--accent);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer p:first-child {
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-subtitle .accent {
        padding: 0.4rem 0.8rem;
        font-size: 1.1rem;
    }

    .transformation-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        flex-direction: column;
        font-size: 1.1rem;
        gap: 0.8rem;
    }

    .hero-subtitle .accent {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .benefits-grid,
    .transformation-cards,
    .hyrox-grid,
    .about-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .header-content {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .g-recaptcha {
        transform: scale(0.75);
        transform-origin: 0 0;
        margin-left: -12px;
    }

    .map-container {
        height: 250px;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 2.5rem 1rem;
    }

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

    .weight-visual,
    .hyrox-visual,
    .running-visual {
        justify-content: center;
    }

    .weight-visual .visual-element,
    .hyrox-visual .visual-element,
    .running-visual .visual-element {
        margin: 0 auto;
        width: min(220px, 90vw);
        height: min(220px, 90vw);
    }

    .hero-subtitle .accent {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-wrapper {
        padding: 0;
    }

    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .hero-subtitle .accent {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero-accent {
        width: 250px;
        height: 250px;
        top: -50px;
        right: -50px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .visual-element {
        width: 200px;
        height: 200px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .benefit-item,
    .card,
    .hyrox-item,
    .about-card {
        padding: 1rem;
    }

    .contact-details {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}
