/*
Theme Name: OMID FLE
Theme URI: https://apprendslefrancais.com/
Author: Association Culturelle Omid
Description: Thème léger et bilingue (FR/EN) pour les cours de français de l’Association Culturelle Omid à Paris 19e : prise de rendez-vous WhatsApp, horaires, méthodes, vidéos TikTok, avis Google et formulaire de contact.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omid-fle
*/

:root{
  --bg:#ffffff; --ink:#2A1013; --muted:#4A2F33; --soft:#6B4F53;
  --brand:#51121A; --brand-2:#7A2A33; --brand-3:#6A2029; --rose:#F2D6CF;
  --blush:#F7ECE9; --line:#EBDCDD; --green:#0B7A3B; --green-dark:#0B5A2C; --star:#E3A008;
  --radius:16px; --wrap:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Source Sans 3',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:18px;line-height:1.55}
h1,h2,h3{font-family:'Archivo',system-ui,sans-serif;line-height:1.1;margin:0}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand)} a:hover{color:var(--green)}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:24px;padding-right:24px}
.section{padding-top:72px;padding-bottom:72px}
.bg-blush{background:var(--blush)} .bg-brand{background:var(--brand);color:#fff}
.h2{font-size:clamp(30px,4vw,40px);color:var(--brand);margin-bottom:12px}
.bg-brand .h2{color:#fff}
.lead{color:var(--muted);max-width:720px;margin-bottom:36px}
.eyebrow{font-weight:600;font-size:15px;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-2)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;left:12px;top:12px;width:auto;height:auto;clip:auto;background:#fff;padding:10px 14px;z-index:1000}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:16px 26px;border-radius:999px;font-weight:600;font-size:18px;text-decoration:none;border:0;cursor:pointer;line-height:1.2}
.btn svg{flex:none}
.btn-wa{background:var(--green);color:#fff} .btn-wa:hover{background:var(--green-dark);color:#fff}
.btn-brand{background:var(--brand);color:#fff} .btn-brand:hover{background:var(--brand-3);color:#fff}
.btn-outline{border:2px solid var(--brand);color:var(--brand);background:transparent} .btn-outline:hover{background:var(--brand);color:#fff}
.btn-white{background:#fff;color:var(--green-dark)} .btn-white:hover{color:var(--green-dark);background:#E6F6EC}
.btn-sm{padding:11px 18px;font-size:16px}

/* Header */
.site-header{background:var(--brand);color:#fff}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.brand:hover{color:#fff}
.brand img{width:44px;height:53px;object-fit:contain}
.brand-name{font-family:'Archivo',sans-serif;font-weight:700;font-size:19px;display:block;line-height:1.2}
.brand-sub{font-size:14px;color:var(--rose);display:block}
.header-actions{display:flex;align-items:center;gap:12px}
.lang{display:flex;gap:4px;font-size:15px;font-weight:600}
.lang a{padding:9px 12px;border-radius:6px;color:#fff;text-decoration:none}
.lang a[aria-current="true"]{background:#fff;color:var(--brand)}

/* Hero */
.hero{display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding-top:64px;padding-bottom:40px}
.hero-text{flex:999 1 520px;min-width:0}
.hero h1{font-size:clamp(38px,6vw,68px);font-weight:800;color:var(--brand);margin:14px 0 20px}
.hero-sub{font-size:21px;color:var(--muted);max-width:580px;margin-bottom:30px}
.hero-legal{margin-top:18px;font-size:15px;color:var(--soft)}
.price-card{flex:1 1 300px;background:var(--brand);color:#fff;border-radius:20px;padding:34px}
.price-card .eyebrow{color:var(--rose)}
.price{font-family:'Archivo',sans-serif;font-weight:800;font-size:82px;line-height:1;margin-top:8px}
.price-per{font-size:20px;margin:4px 0 18px}
.price-alt{color:var(--rose);font-size:17px;margin-bottom:18px}
.price-note{padding-top:18px;border-top:1px solid var(--brand-2);color:var(--rose);font-size:16px}

/* Photos */
.photos{display:flex;flex-wrap:wrap;gap:16px;padding-bottom:72px}
.photos .big{flex:2 1 520px;min-width:0}
.photos .stack{flex:1 1 280px;display:flex;flex-direction:column;gap:16px;min-width:0}
.photo{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius);background:var(--blush)}

/* Cards / grids */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.card{background:#fff;border-radius:var(--radius);padding:28px}
.num{width:44px;height:44px;border-radius:999px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Archivo',sans-serif;font-weight:800;font-size:20px;margin-bottom:16px}
.card h3{font-size:22px;margin-bottom:8px}
.card p{color:var(--muted)}
.slot{background:var(--brand);color:#fff;border-radius:var(--radius);padding:28px}
.slot h3{font-size:22px;margin-bottom:14px}
.slot .time{font-family:'Archivo',sans-serif;font-weight:800;font-size:34px;line-height:1.1}
.slot.alt{background:var(--blush);color:var(--ink);border:2px solid var(--brand)}
.slot.alt h3{color:var(--brand)}
.slot.alt .time{font-size:22px;font-weight:700;line-height:1.25}

/* Method */
.book{background:#fff;border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:14px}
.covers{display:flex;gap:12px;height:200px;align-items:flex-end}
.covers img{height:200px;width:auto;border-radius:6px;box-shadow:0 4px 14px rgba(42,16,19,.18)}
.book .eyebrow{margin-top:6px;font-size:14px}
.book h3{font-size:22px;line-height:1.2}
.book p{color:var(--muted)}

/* Attestation */
.attest{border:2px solid var(--brand);border-radius:20px;padding:40px;display:flex;flex-wrap:wrap;gap:32px;align-items:center}
.attest svg{flex:none}
.attest-body{flex:1 1 480px;min-width:0}
.attest h2{font-size:clamp(28px,3.5vw,36px);color:var(--brand);margin-bottom:12px}
.attest p{color:var(--muted);margin-bottom:20px}
.chips{display:flex;flex-wrap:wrap;gap:12px}
.chip{background:var(--blush);border-radius:999px;padding:10px 18px;font-weight:600}

/* Videos */
.videos-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:32px}
.videos-head p{color:var(--rose)}
.videos-head a{color:#fff;font-weight:600}
.vlabel{font-size:15px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--rose);margin:0 0 14px}
.vgrid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));justify-items:center;margin-bottom:36px}
.vgrid:last-child{margin-bottom:0}
.vgrid .tt{width:100%;max-width:325px}
.tt-play{display:block;position:relative;width:100%;aspect-ratio:3/4;border:0;padding:0;border-radius:14px;overflow:hidden;background:var(--brand-3);cursor:pointer;color:#fff;font:inherit}
.tt-play img{width:100%;height:100%;object-fit:cover}
.tt-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:transform .15s}
.tt-play:hover .tt-icon{transform:scale(1.08)}
.tt-play:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tt-cap{position:absolute;left:0;right:0;bottom:0;padding:48px 14px 14px;background:linear-gradient(transparent,rgba(0,0,0,.75));font-size:15px;text-align:left;line-height:1.35}
.tt-frame{display:block;width:100%;aspect-ratio:9/16;border:0;border-radius:14px;background:#000}
.tt-link{display:inline-block;margin-top:8px;color:var(--rose);font-size:15px}

/* About */
.about{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.about-text{flex:1 1 520px;min-width:0}
.about-text p{color:var(--muted);margin-bottom:16px}
.about-text ul{margin:0 0 20px;padding-left:22px;color:var(--muted);display:flex;flex-direction:column;gap:10px}
.about-text h3{font-size:24px;color:var(--brand);margin:28px 0 8px}
.about-photos{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:16px}
.about-photos .photo{border-radius:20px}

/* FAQ */
.faq{max-width:860px}
.faq details{border-bottom:1px solid var(--line);padding:18px 0}
.faq summary{cursor:pointer;font-weight:600;font-size:19px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--brand);font-size:24px;line-height:1}
.faq details[open] summary::after{content:'−'}
.faq details p{color:var(--muted);margin-top:10px}

/* Contact */
.contact{display:flex;flex-wrap:wrap;gap:24px;align-items:stretch}
.contact-left{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:20px}
.wa-box{background:var(--green);color:#fff;border-radius:20px;padding:32px}
.wa-box .eyebrow{color:#CFF0DB}
.wa-box h3{font-size:28px;margin:8px 0 12px;line-height:1.15}
.wa-box p{color:#E6F6EC;margin-bottom:24px}
.where{background:#fff;border-radius:20px;padding:28px}
.where h3{font-size:22px;color:var(--brand);margin-bottom:8px}
.where .big{font-size:20px;font-weight:600;margin-bottom:4px}
.where p{color:var(--muted)}
.form-box{flex:1 1 420px;min-width:0;background:#fff;border-radius:20px;padding:32px}
.form-box h3{font-size:22px;color:var(--brand);margin-bottom:16px}
.form-box label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:16px;margin-bottom:14px}
.form-box input[type=text],.form-box input[type=email],.form-box input[type=tel],.form-box textarea{width:100%;padding:14px 16px;border:1.5px solid #B8959A;border-radius:10px;font:inherit;font-weight:400;background:#fff;color:var(--ink)}
.form-box input:focus,.form-box textarea:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.form-box textarea{min-height:140px;resize:vertical}
.form-box input[type=submit],.form-box button[type=submit]{background:var(--brand);color:#fff;border:0;border-radius:999px;padding:16px 28px;font:inherit;font-weight:600;font-size:18px;cursor:pointer}
.form-box input[type=submit]:hover{background:var(--brand-3)}
.form-box button[type=submit]:hover{background:var(--brand-3)}
.form-msg{padding:14px 16px;border-radius:10px;margin-bottom:16px;font-weight:600}
.form-msg.ok{background:#E6F6EC;color:#0B5A2C}
.form-msg.err{background:#FBE9E7;color:#8A1C12}
.wpcf7-not-valid-tip{font-size:14px;font-weight:400}
.wpcf7 form .wpcf7-response-output{margin:12px 0 0;border-radius:10px;font-size:16px}
.wpcf7-spinner{vertical-align:middle}

/* Reviews */
.reviews-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.rating{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.rating .score{font-family:'Archivo',sans-serif;font-weight:800;font-size:56px;line-height:1;color:var(--brand)}
.rating .meta{display:flex;flex-direction:column;gap:4px;font-size:16px;color:var(--muted)}
.rgrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.review{margin:0;background:var(--blush);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:12px}
.review .stars{color:#8A5A00;font-size:15px;font-weight:600}
.review blockquote{margin:0;font-size:17px;line-height:1.5}
.review figcaption{margin-top:auto;font-weight:600;color:var(--brand)}
.reviews-note{font-size:15px;color:var(--soft);margin-bottom:16px}

/* Legal + footer */
.legal{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.legal div{border:1.5px solid var(--line);border-radius:14px;padding:20px}
.legal .k{font-size:15px;color:var(--soft);margin-bottom:4px}
.legal .v{font-weight:600}
.site-footer{background:var(--brand);color:var(--rose);font-size:15px}
.site-footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:28px;padding-bottom:28px}
.site-footer a{color:#fff}
.wa-float{position:fixed;right:20px;bottom:20px;width:60px;height:60px;border-radius:999px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(42,16,19,.3);z-index:50}
.wa-float:hover{background:var(--green-dark);color:#fff}

/* Blog */
.posts{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.post-card{background:var(--blush);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.post-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.post-card .in{padding:22px;display:flex;flex-direction:column;gap:8px}
.post-card h2{font-size:22px}
.post-card h2 a{text-decoration:none;color:var(--brand)}
.post-card time{font-size:14px;color:var(--soft)}
.entry{max-width:780px;margin:0 auto}
.entry h1{font-size:clamp(32px,5vw,48px);color:var(--brand);margin-bottom:12px}
.entry .meta{color:var(--soft);font-size:15px;margin-bottom:28px}
.entry-content p,.entry-content ul,.entry-content ol{margin:0 0 1.1em}
.entry-content h2{font-size:28px;color:var(--brand);margin:1.6em 0 .6em}
.entry-content h3{font-size:22px;margin:1.4em 0 .5em}
.entry-content img{border-radius:12px}
.pagination{margin-top:36px;display:flex;gap:8px;flex-wrap:wrap}
.pagination .page-numbers{padding:10px 14px;border-radius:8px;background:var(--blush);text-decoration:none}
.pagination .current{background:var(--brand);color:#fff}

@media (max-width:640px){
  body{font-size:17px}
  .section{padding-top:56px;padding-bottom:56px}
  .hero{padding-top:40px;gap:32px}
  .header-actions .btn-sm span{display:none}
  .attest{padding:28px}
  .covers{height:160px} .covers img{height:160px}
  .btn{padding:15px 22px;font-size:17px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
