/*
Theme Name: AI COACH Landing V6
Theme URI: https://example.com/ai-coach
Author: OpenAI
Author URI: https://openai.com
Description: Landing page WordPress pour la campagne AI COACH Sport Family Connect.
Version: 1.6.1
License: GPL-2.0-or-later
Text Domain: ai-coach-landing
*/

:root {
    --coach-blue: #122A48;
    --deep-blue: #092442;
    --cream: #F7EFE3;
    --paper: #FFF9EF;
    --orange: #F26316;
    --orange-dark: #D84B0D;
    --mist-blue: #8EB2B9;
    --ink: #071F3B;
    --muted: #50627A;
    --white: #FFFFFF;
    --shadow: 0 24px 60px rgba(9, 36, 66, 0.18);
    --max: 1672px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--orange);
    color: var(--white);
    z-index: 9999;
}

.site-header {
    background: rgba(255, 250, 241, 0.97);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(18, 42, 72, 0.08);
}
.admin-bar .site-header { top: 32px; }
.nav-wrap {
    max-width: var(--max);
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 42px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; }
.brand img {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--coach-blue);
    font-weight: 800;
    font-size: 17px;
    white-space: nowrap;
}
.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    border: 2px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    color: var(--white);
    background: linear-gradient(180deg, #FF781D 0%, var(--orange) 100%);
    box-shadow: 0 12px 25px rgba(242, 99, 22, 0.25);
}
.btn-outline {
    border-color: var(--coach-blue);
    color: var(--coach-blue);
    background: var(--paper);
    min-width: 148px;
}
.btn-video { border-color: var(--coach-blue); background: var(--paper); color: var(--coach-blue); }
.play { font-size: 23px; margin-right: 10px; }
.mobile-menu { display: none; }

.hero-v6 {
    max-width: var(--max);
    margin: 0 auto;
    min-height: 670px;
    position: relative;
    overflow: hidden;
    background: var(--paper);
    isolation: isolate;
}
.hero-v6-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-v6-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 249, 239, 1) 0%,
        rgba(255, 249, 239, 1) 23%,
        rgba(255, 249, 239, 0.96) 34%,
        rgba(255, 249, 239, 0.78) 45%,
        rgba(255, 249, 239, 0.48) 56%,
        rgba(255, 249, 239, 0.18) 68%,
        rgba(255, 249, 239, 0) 82%
    );
}
.hero-v6-content {
    position: relative;
    z-index: 3;
    min-height: 575px;
    display: grid;
    grid-template-columns: minmax(300px, 29%) minmax(430px, 33%) minmax(440px, 38%);
    align-items: center;
}
.coach-visual-v6 {
    grid-column: 1;
    align-self: end;
    padding-top: 24px;
    overflow: visible;
}
.coach-visual-v6 img {
    width: clamp(312px, 27vw, 400px);
    max-width: none;
    transform: translateX(-10px);
}
.hero-copy-v6 {
    grid-column: 2;
    max-width: 560px;
    padding: 50px 8px 20px 8px;
}
.hero-copy-v6 h1 {
    margin: 0;
    text-transform: uppercase;
    color: var(--coach-blue);
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: clamp(62px, 5.1vw, 86px);
    line-height: 0.96;
    letter-spacing: 1px;
    font-weight: 900;
}
.hero-copy-v6 h1 span { color: var(--orange); }
.hero-subtitle {
    margin: 24px 0 32px;
    color: var(--coach-blue);
    font-size: clamp(25px, 2vw, 31px);
    line-height: 1.18;
    font-weight: 500;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ai-card-v6 {
    position: absolute;
    z-index: 4;
    right: clamp(36px, 4vw, 70px);
    bottom: 78px;
    width: clamp(455px, 34vw, 620px);
    padding: 28px 36px 28px 52px;
    border-radius: 30px;
    color: var(--white);
    background: rgba(9, 36, 66, 0.96);
    box-shadow: 0 24px 56px rgba(9, 36, 66, 0.25);
}
.ai-card-v6 h2 {
    margin: 0 0 14px;
    font-size: clamp(25px, 2.05vw, 34px);
    line-height: 1.12;
    font-weight: 900;
    max-width: 560px;
}
.ai-card-v6 p {
    margin: 0;
    max-width: 560px;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.45;
    font-weight: 700;
}
.accent-lines {
    position: absolute;
    top: 25px;
    left: 22px;
    color: var(--orange);
    font-size: 38px;
    line-height: 1;
    transform: rotate(-20deg);
}
.trust-strip-v6 {
    position: relative;
    z-index: 5;
    width: min(850px, 63%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 22px 34px 32px 72px;
    background: linear-gradient(180deg, rgba(255,249,239,0) 0%, var(--paper) 30%);
}
.trust-item-v6 {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--coach-blue);
    font-size: 17px;
}
.trust-icon-v6 { width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; color: var(--coach-blue); }
.trust-icon-v6 svg { width: 44px; height: 44px; stroke: currentColor; fill: none; }

.section-pad { max-width: 1440px; margin: 0 auto; padding: 78px 54px; }
.eyebrow, .section-kicker {
    text-transform: uppercase;
    color: var(--coach-blue);
    font-family: Impact, "Arial Narrow", sans-serif;
    letter-spacing: 1px;
    line-height: 1;
    font-size: 35px;
    text-align: center;
    margin: 0 0 48px;
}
.eyebrow span, .section-kicker span { color: var(--orange); }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; text-align: center; }
.feature-grid article { padding: 10px 12px; }
.round-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--coach-blue);
    font-size: 35px;
}
.feature-grid h3 {
    text-transform: uppercase;
    color: var(--coach-blue);
    font-family: Impact, "Arial Narrow", sans-serif;
    letter-spacing: 0.6px;
    font-size: 23px;
    line-height: 1.05;
    margin: 0 0 14px;
}
.feature-grid p { color: var(--ink); margin: 0; font-weight: 600; }

.how { display: grid; grid-template-columns: 1fr 380px 1fr; gap: 66px; align-items: center; padding-top: 40px; }
.how .section-kicker, .proof .section-kicker { text-align: left; font-size: 32px; margin-bottom: 34px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; margin-bottom: 25px; }
.steps span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
}
.steps strong { color: var(--coach-blue); font-size: 18px; }
.steps p { margin: 6px 0 0; color: var(--ink); font-weight: 600; }
.phone-wrap { display: flex; justify-content: center; }
.phone {
    width: 300px;
    min-height: 570px;
    border: 12px solid #111;
    border-radius: 46px;
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 25px 22px;
    position: relative;
}
.phone::before {
    content: "";
    width: 98px;
    height: 20px;
    background: #111;
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 16px 16px;
}
.phone-top { font-size: 12px; font-weight: 900; margin: 5px 0 24px; }
.phone h4 { color: var(--coach-blue); margin: 0; font-size: 19px; line-height: 1.1; }
.small { font-size: 12px; font-weight: 700; color: var(--muted); }
.app-card { margin: 22px 0; border-radius: 18px; background: #F3E4D2; padding: 18px; }
.app-card strong { color: var(--coach-blue); font-size: 20px; }
.app-card p { font-size: 12px; font-weight: 700; color: var(--muted); }
.app-card button { border: 0; background: var(--orange); color: var(--white); border-radius: 999px; padding: 10px 15px; font-weight: 900; }
.app-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-mini-grid span { border-radius: 14px; background: #F3E4D2; min-height: 78px; padding: 12px; font-size: 12px; font-weight: 800; color: var(--coach-blue); }
.review { background: var(--white); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.review strong { color: var(--coach-blue); }
.review p { color: var(--ink); font-weight: 600; }
.review small { color: var(--muted); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: center; }
.stats strong { display: block; color: var(--coach-blue); font-size: 28px; }
.stats span { color: var(--muted); font-size: 13px; font-weight: 800; }

.cta-band {
    max-width: 1320px;
    background: linear-gradient(135deg, var(--deep-blue), #0B315A);
    color: var(--white);
    border-radius: 36px;
    margin-top: 30px;
    margin-bottom: 58px;
    display: grid;
    grid-template-columns: 130px 1fr 1.7fr;
    align-items: center;
    gap: 34px;
    padding: 36px 54px;
}
.cta-logo img { width: 118px; border-radius: 50%; }
.cta-band h2 {
    margin: 0;
    text-transform: uppercase;
    font-family: Impact, "Arial Narrow", sans-serif;
    line-height: 1.05;
    font-size: 34px;
    letter-spacing: 1px;
}
.cta-band h2 span { color: var(--orange); }
.store-copy { display: flex; justify-content: space-between; gap: 28px; align-items: center; border-left: 1px solid rgba(255,255,255,0.35); padding-left: 45px; }
.store-copy p { font-size: 20px; font-weight: 700; margin: 0; }

.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
details { border-radius: 22px; background: var(--white); box-shadow: 0 12px 30px rgba(9,36,66,0.08); padding: 22px 24px; }
summary { cursor: pointer; font-weight: 900; color: var(--coach-blue); }
details p { color: var(--muted); font-weight: 600; }

.site-footer { background: var(--paper); padding: 18px 48px 40px; }
.footer-trust {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: var(--coach-blue);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}
.footer-trust div { display: flex; align-items: center; gap: 10px; }
.footer-icon { width: 28px; height: 28px; flex: 0 0 28px; color: var(--orange); display: inline-flex; }
.footer-icon svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; }
.footer-icon path, .footer-icon rect { stroke: currentColor; fill: none; }

.blog-main, .page-main { max-width: 1180px; }
.blog-hero { text-align: center; max-width: 920px; margin: 0 auto 58px; }
.blog-hero .eyebrow { margin-bottom: 22px; }
.blog-hero h1, .page-main h1 {
    color: var(--coach-blue);
    font-family: Impact, "Arial Narrow", sans-serif;
    text-transform: uppercase;
    font-size: clamp(48px, 5vw, 74px);
    line-height: 1;
    margin: 0 0 22px;
}
.blog-hero p { color: var(--muted); font-size: 20px; font-weight: 700; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.post-card-copy { padding: 26px; }
.post-card h2 { margin: 0 0 12px; color: var(--coach-blue); font-size: 25px; line-height: 1.15; }
.post-card p { color: var(--muted); font-weight: 600; }
.read-more { color: var(--orange); font-weight: 900; }
.entry-content { color: var(--ink); font-size: 18px; }
.entry-content a { color: var(--orange); text-decoration: underline; }

@media (max-width: 1460px) {
    .nav-wrap { padding: 10px 30px; gap: 18px; }
    .brand img { height: 62px; max-width: 250px; }
    .main-nav { gap: 20px; font-size: 16px; }
    .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
    .hero-v6 { min-height: 650px; }
    .hero-v6-bg { width: 73%; background-position: center center; }
    .hero-v6-content { min-height: 560px; grid-template-columns: minmax(260px, 27%) minmax(390px, 31%) 1fr; }
    .coach-visual-v6 img { width: clamp(300px, 26vw, 355px); }
    .hero-copy-v6 h1 { font-size: 64px; }
    .ai-card-v6 { right: 28px; bottom: 62px; width: clamp(460px, 37vw, 560px); }
    .ai-card-v6 h2 { font-size: 28px; }
}

@media (max-width: 1100px) {
    .nav-wrap { min-height: 80px; flex-wrap: wrap; }
    .brand img { height: 58px; max-width: 230px; }
    .mobile-menu { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--coach-blue); background: var(--paper); color: var(--coach-blue); font-size: 24px; }
    .main-nav, .nav-actions { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; }
    .main-nav.open, .nav-actions.open { display: flex; }
    .hero-v6 { min-height: auto; display: block; }
    .hero-v6-bg { position: relative; width: 100%; min-height: 430px; background-position: center center; z-index: 1; }
    .hero-v6-wash { background: linear-gradient(180deg, rgba(255,249,239,1) 0%, rgba(255,249,239,0.88) 24%, rgba(255,249,239,0.22) 50%, rgba(255,249,239,0) 100%); height: 430px; bottom: auto; z-index: 2; }
    .hero-v6-content { display: block; min-height: auto; padding: 0 28px; }
    .coach-visual-v6 { width: 42%; float: left; padding: 28px 0 0; position: relative; z-index: 3; }
    .coach-visual-v6 img { width: 100%; margin-left: 0; transform: none; }
    .hero-copy-v6 { position: relative; z-index: 4; padding: 48px 0 30px; max-width: none; }
    .hero-copy-v6 h1 { font-size: clamp(56px, 12vw, 88px); }
    .ai-card-v6 { position: relative; right: auto; bottom: auto; z-index: 5; width: calc(100% - 56px); margin: -110px 28px 0; border-radius: 28px; }
    .trust-strip-v6 { clear: both; width: 100%; grid-template-columns: 1fr; padding: 32px 28px; }
    .feature-grid, .how, .footer-trust, .faq-grid, .posts-grid { grid-template-columns: 1fr; }
    .how { gap: 34px; }
    .cta-band { grid-template-columns: 1fr; text-align: center; margin-left: 24px; margin-right: 24px; }
    .store-copy { border-left: 0; padding-left: 0; flex-direction: column; }
}

@media (max-width: 640px) {
    .nav-wrap { padding: 12px 18px; }
    .brand img { height: 52px; }
    .coach-visual-v6 { width: 100%; float: none; max-height: 340px; overflow: hidden; }
    .hero-copy-v6 { padding-top: 28px; }
    .hero-copy-v6 h1 { font-size: 56px; }
    .hero-subtitle { font-size: 24px; }
    .hero-v6-bg { min-height: 500px; }
    .ai-card-v6 { padding: 24px 26px 26px 40px; border-radius: 24px; }
    .ai-card-v6 h2 { font-size: 23px; }
    .section-pad { padding: 54px 24px; }
    .eyebrow, .section-kicker { font-size: 29px; }
    .feature-grid { gap: 22px; }
    .stats { grid-template-columns: 1fr; }
    .phone { width: 280px; min-height: 540px; }
    .footer-trust { text-align: left; }
}
