/*
Theme Name: Ava Optimis
Theme URI: https://www.avaoptimis.fr
Author: Ava Optimis
Description: Thème sur mesure du site Ava Optimis (Performance · Équilibre · Transformation). À l'activation, crée automatiquement toutes les pages du site et les définit comme page d'accueil.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire
Text Domain: ava-optimis
*/

@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/montserrat-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Lora';font-style:italic;font-weight:400;font-display:swap;src:url('assets/fonts/lora-400-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/montserrat-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Lora';font-style:italic;font-weight:400;font-display:swap;src:url('assets/fonts/lora-400-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Ava Optimis — feuille de style du site (d'après la maquette du 24/10/2026) */
:root {
  --navy: #1A3562;
  --navy-dark: #11243B;
  --orange: #E87109;
  --orange-soft: #F6C89A;
  --orange-bg: #FFF6EC;
  --grey-title: #97A3B6;
  --text: #4A5568;
  --muted: #8A94A6;
  --line: #ECEEF2;
  --bg-soft: #F8F9FB;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(17, 36, 59, .06);
  --glow: 0 10px 30px rgba(232, 113, 9, .22);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; line-height: 1.2; font-weight: 700; text-wrap: balance; }
p { margin: 0; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--orange); }
.dark { color: var(--navy-dark); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 120px;
}
.logo img { width: 140px; height: auto; }
.main-nav { display: flex; gap: 24px; }
.main-nav a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy-dark); transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--navy-dark);
  padding: 13px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--white); box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(232, 113, 9, .32); }
.btn-outline { border: 2px solid var(--navy-dark); padding: 9px 24px; font-size: 13px; }
.btn-outline:hover { background: var(--navy-dark); color: var(--white); }
.btn-link { padding: 13px 12px; }
.btn-link:hover { color: var(--orange); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: var(--glow); }
.btn-orange:hover { transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; margin-top: 34px; }

.text-link {
  display: inline-block; margin-top: 18px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-dark);
}
.text-link:hover { color: var(--orange); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; margin-bottom: 20px;
  padding: 6px 18px; border: 1px solid var(--orange-soft); border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); }
.lead {
  font-family: var(--serif); font-style: italic; color: var(--muted);
  font-size: 15.5px; margin-top: 22px;
}

/* Hero */
.hero { text-align: center; padding: 96px 0 80px; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; }
.hero h1 .soft { color: var(--grey-title); }
.hero .lead { max-width: 620px; margin-inline: auto; font-size: 17px; }
.stats { display: flex; justify-content: center; gap: 56px; margin-top: 56px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--orange); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-title); }

/* Grilles et cartes */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(17, 36, 59, .09); }
.card .num { font-size: 12px; font-weight: 700; color: var(--orange); }
.card .icon { font-size: 26px; margin: 10px 0 12px; line-height: 1; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--muted); }
.card.center { text-align: center; }
.card .kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-title); }
.card .tagline { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 13.5px; margin: 8px 0 12px; }
.card .promise { color: var(--navy-dark); font-weight: 700; font-size: 13.5px; margin-top: 12px; }

/* Pastilles rondes (différenciation, méthode) */
.feature { text-align: center; }
.round-icon {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px;
  border: 2px solid var(--orange); background: var(--white);
}
.feature h4 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-dark); margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* Résultats */
.result { display: flex; gap: 16px; align-items: flex-start; }
.result .round-icon { width: 46px; height: 46px; font-size: 19px; margin: 0; flex-shrink: 0; border-width: 1px; border-color: var(--line); background: var(--orange-bg); }
.result h3 { font-size: 15px; margin-bottom: 4px; }

/* Listes de services */
.service-list { list-style: none; padding: 0; margin: 18px 0 0; }
.service-list li { position: relative; padding: 7px 0 7px 18px; font-size: 14px; border-bottom: 1px dashed var(--line); }
.service-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.card h3.caps { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }

/* Formations */
.format { display: inline-block; font-size: 11px; font-weight: 700; color: var(--orange); background: var(--orange-bg); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

/* Tableaux de tarifs */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-dark); padding: 18px 22px; border-bottom: 2px solid var(--line); }
td { padding: 15px 22px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
td.price { font-weight: 700; color: var(--navy); white-space: nowrap; }
.note { text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 14px; margin-top: 22px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.chips span { font-size: 13px; font-weight: 600; color: var(--orange); }

/* Espaces */
.space-card h3 { font-size: 18px; }
.space-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.price-row strong { color: var(--navy-dark); }
.price-row.promo strong { color: var(--orange); }
.space-card .btn { width: 100%; margin-top: 22px; }
.launch-offer { text-align: center; background: var(--orange-bg); border: 1px solid var(--orange-soft); border-radius: var(--radius); padding: 26px; }
.launch-offer h3 { color: var(--orange); font-size: 17px; margin-bottom: 8px; }
.launch-offer s { color: var(--muted); }

/* Citation */
.quote { text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy); margin: 46px auto 0; max-width: 640px; }

/* Étapes numérotées */
.step-num { width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 700; }

/* Bandeau d'appel à l'action */
.cta { text-align: center; }
.cta h2 { font-size: clamp(24px, 3.2vw, 32px); color: var(--grey-title); }
.cta h2 .dark { color: var(--navy-dark); }

/* Encart partenaires */
.join-box { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 28px; background: var(--white); box-shadow: var(--shadow); }
.join-box h2 { font-size: 26px; }

/* Formulaire */
.form-card { max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-dark); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--navy-dark);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange-soft); border-color: var(--orange); background: var(--white); }
textarea { min-height: 150px; resize: vertical; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand strong { display: block; color: var(--navy-dark); font-size: 16px; font-weight: 800; }
.footer-brand .baseline { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--orange); margin: 4px 0 14px; }
.footer-brand p { color: var(--muted); max-width: 280px; }
.footer-col h4 { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); padding: 3px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: 12.5px; }
.footer-bottom .accent { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .site-header .container { min-height: 76px; }
  .logo img { width: 96px; }
}
@media (max-width: 560px) {
  .grid-4, .grid-5, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 32px; }
  .hero { padding: 64px 0 56px; }
}

/* ---------- Page À propos ---------- */
.narrow { max-width: 760px; }
.prose p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.timeline { list-style: none; margin: 0 auto; padding: 0 0 0 34px; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--orange-soft); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.timeline li:last-child::before { background: var(--orange); }
.timeline-step { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); }
.founder .portrait { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: var(--orange-bg); border: 2px solid var(--orange-soft); margin-bottom: 18px; }
.founder h3 { font-size: 20px; margin-bottom: 12px; }
.founder p { margin-bottom: 12px; }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.values li { padding: 12px 24px; border-radius: 999px; background: var(--white); border: 1px solid var(--orange-soft); color: var(--navy); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.name-card { text-align: center; }
.name-word { font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: .06em; color: var(--navy); line-height: 1.1; }
.name-split { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--navy-dark); margin: 10px 0 14px; }
.name-split strong { font-family: var(--font); font-style: normal; color: var(--orange); }
.card-highlight { background: var(--orange-bg); border-color: var(--orange-soft); }
.card-highlight .num { color: var(--orange); }
.contact-info a { color: var(--navy-dark); font-weight: 600; }
.contact-info a.text-link { font-weight: 700; }
.footer-address { margin-top: 14px; color: var(--muted); }
.footer-address a, .footer-bottom a { color: inherit; }
.footer-address a:hover, .footer-bottom a:hover { color: var(--orange); }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal .todo { background: var(--orange-bg); color: var(--orange); font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.premium-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; font-style: italic; font-family: var(--serif); }
.premium-includes { margin-bottom: 8px; color: var(--navy-dark); }

/* Photos */
.card.has-photo { padding-top: 0; overflow: hidden; }
.card-photo { margin: 0 -28px 18px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card-photo img, .photo-band img, .photo-duo img, .photo-trio img, .launch-offer.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card.has-photo .card-photo + .icon { display: none; }
.card.has-photo:hover .card-photo img { transform: scale(1.03); }
.card-photo img { transition: transform .5s; }
.photo-band { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 7; box-shadow: var(--shadow); }
.photo-band figcaption, .photo-duo figcaption, .photo-trio figcaption { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.photo-band figcaption { position: absolute; left: 18px; bottom: 14px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.photo-section { padding-top: 0; }
.photo-duo, .photo-trio { display: grid; gap: 22px; }
.photo-duo { grid-template-columns: 1fr 1fr; }
.photo-trio { grid-template-columns: repeat(3, 1fr); }
.photo-duo figure, .photo-trio figure { margin: 0; }
.photo-duo img, .photo-trio img { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-duo figcaption, .photo-trio figcaption { margin-top: 10px; text-align: center; }
.photo-trio a { text-decoration: none; }
.photo-trio a:hover figcaption { color: var(--orange); }
.launch-offer.has-photo { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: center; text-align: left; }
.launch-offer.has-photo img { aspect-ratio: 4 / 3; border-radius: 12px; }
@media (max-width: 860px) {
  .photo-trio { grid-template-columns: 1fr; }
  .photo-band { aspect-ratio: 4 / 3; }
  .launch-offer.has-photo { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 560px) {
  .photo-duo { grid-template-columns: 1fr; }
}

/* ---------- Questions fréquentes ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line, #E6EAF0); border-radius: 14px; padding: 0 24px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 700; color: var(--navy-dark); font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); font-size: 15px; padding-bottom: 20px; margin: 0; }

/* ---------- WordPress ---------- */
.wp-site-blocks, .entry-content { margin: 0; }
.form-notice { max-width: 720px; margin: 0 auto 22px; padding: 16px 22px; border-radius: 12px; font-weight: 600; text-align: center; }
.form-notice.ok { background: #EAF7EF; color: #1E6B3A; }
.form-notice.err { background: var(--orange-bg); color: var(--orange); }
.hp-field { position: absolute !important; left: -9999px !important; }
.page-default { padding: 72px 0; }
.page-default h1 { margin-bottom: 24px; }
