/*
Theme Name: ChoixSerein
Theme URI: https://choix-serein.fr
Author: ChoixSerein
Description: Thème d'affiliation multi-niches optimisé SEO — SaaS/IA, Finance, Santé
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: choixserein
Tags: affiliation, multi-niches, seo, responsive
*/

/* =============================================
   VARIABLES & RESET
============================================= */
:root {
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #EFF6FF;
  --primary-border: #BFDBFE;
  --success:        #059669;
  --success-light:  #ECFDF5;
  --success-border: #A7F3D0;
  --purple:         #7C3AED;
  --purple-light:   #F5F3FF;
  --purple-border:  #DDD6FE;
  --orange:         #EA580C;
  --orange-light:   #FFF7ED;
  --dark:           #0F172A;
  --text:           #334155;
  --muted:          #64748B;
  --border:         #E2E8F0;
  --bg:             #F8FAFC;
  --white:          #FFFFFF;
  --radius:         8px;
  --radius-lg:      12px;
  --shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:      0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:      0 10px 15px rgba(0,0,0,.07), 0 4px 6px rgba(0,0,0,.05);
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:     0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { padding-left: 1.5rem; }

/* =============================================
   LAYOUT
============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; }
.grid-main { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .grid-main { grid-template-columns: 1fr; } }

/* =============================================
   HEADER
============================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  max-width: 1200px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 52px; width: auto; display: block; }
@media (max-width: 480px) { .site-logo img { height: 40px; } }
.header-search input { border: 1px solid var(--border); border-radius: 20px; padding: .4rem 1rem; font-size: .85rem; outline: none; width: 180px; transition: border-color var(--transition); }
.header-search input:focus { border-color: var(--primary); }

/* Niche nav bar */
.niche-bar { background: var(--dark); padding: .4rem 0; }
.niche-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; display: flex; gap: 1rem; align-items: center; overflow-x: auto; scrollbar-width: none; }
.niche-bar-inner::-webkit-scrollbar { display: none; }
.niche-pill { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 500; padding: .25rem .8rem; border-radius: 20px; border: 1px solid rgba(255,255,255,.15); transition: all var(--transition); flex-shrink: 0; }
.niche-pill:hover, .niche-pill.active { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.niche-pill.saas { border-color: var(--primary); color: #93C5FD; }
.niche-pill.finance { border-color: var(--success); color: #6EE7B7; }
.niche-pill.sante { border-color: var(--purple); color: #C4B5FD; }
.niche-pill.assurance { border-color: #F59E0B; color: #FCD34D; }

/* =============================================
   HERO (Homepage)
============================================= */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a8a 100%);
  padding: 4rem 0 3rem;
  color: #fff;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.hero-tagline { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #93C5FD; font-size: .8rem; font-weight: 600; padding: .3rem 1rem; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: #60A5FA; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 2rem; }
.hero-niches { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-niche-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 1rem 1.5rem; text-align: center; min-width: 160px; transition: all var(--transition); }
.hero-niche-card:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.hero-niche-card .niche-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.hero-niche-card .niche-label { font-size: .85rem; font-weight: 600; color: #fff; }
.hero-niche-card .niche-count { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: .2rem; }

/* =============================================
   CARDS (Articles / Produits)
============================================= */
.section { padding: 3rem 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-size: 1.35rem; font-weight: 700; color: var(--dark); }
.section-link { font-size: .85rem; color: var(--primary); font-weight: 500; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-card:hover .card-thumb img { transform: scale(1.04); }
.card-body { padding: 1.1rem; }
.card-niche { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: .2rem .6rem; border-radius: 4px; margin-bottom: .6rem; }
.card-niche.saas { background: var(--primary-light); color: var(--primary); }
.card-niche.finance { background: var(--success-light); color: var(--success); }
.card-niche.sante { background: var(--purple-light); color: var(--purple); }
.card-title { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: .5rem; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--primary); }
.card-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: .9rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--muted); padding-top: .9rem; border-top: 1px solid var(--border); }
.card-rating { display: flex; align-items: center; gap: .3rem; color: #F59E0B; font-weight: 600; font-size: .8rem; }
.card-rating span { color: var(--muted); font-weight: 400; }

/* Article card "Top Choix" */
.article-card.top-pick { border-color: var(--primary-border); }
.top-pick-badge { background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .7rem; border-radius: 0 0 var(--radius) 0; position: absolute; top: 0; left: 0; text-transform: uppercase; letter-spacing: .5px; }
.card-thumb { position: relative; }

/* =============================================
   ARTICLE SINGLE
============================================= */
.article-header { padding: 2.5rem 0 2rem; background: var(--white); border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.article-header .container-narrow { max-width: 900px; }
.article-niche-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }
.article-niche-breadcrumb a { color: var(--muted); }
.article-niche-breadcrumb a:hover { color: var(--primary); }
.article-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--dark); line-height: 1.25; margin-bottom: .9rem; }
.article-meta-bar { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.article-meta-bar .meta-item { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); }
.article-score-big { display: inline-flex; align-items: center; gap: .75rem; background: var(--primary-light); border: 1px solid var(--primary-border); border-radius: var(--radius-lg); padding: .75rem 1.25rem; margin-top: .75rem; }
.score-number { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.score-label-block .score-stars { color: #F59E0B; font-size: 1rem; }
.score-label-block .score-text { font-size: .78rem; color: var(--muted); margin-top: .15rem; }

/* Table des matières */
.toc-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.toc-box h3 { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.toc-box ol { padding-left: 1.25rem; margin: 0; }
.toc-box li { font-size: .875rem; color: var(--muted); padding: .2rem 0; }
.toc-box a { color: var(--primary); font-weight: 500; }

/* Contenu article */
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.entry-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 1.75rem 0 .75rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content strong { color: var(--dark); }
.entry-content blockquote { border-left: 4px solid var(--primary); padding: 1rem 1.5rem; background: var(--primary-light); border-radius: 0 var(--radius) var(--radius) 0; margin: 1.75rem 0; font-style: italic; color: var(--dark); }

/* =============================================
   COMPOSANTS AFFILIATION (Shortcodes)
============================================= */

/* Score / Rating */
.cm-rating { display: inline-flex; align-items: center; gap: .4rem; }
.cm-rating .stars { color: #F59E0B; }
.cm-rating .score { font-weight: 700; color: var(--dark); }

/* Box Pros / Cons */
.cm-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0; }
@media (max-width: 600px) { .cm-pros-cons { grid-template-columns: 1fr; } }
.cm-pros, .cm-cons { border-radius: var(--radius-lg); padding: 1.25rem; }
.cm-pros { background: var(--success-light); border: 1px solid var(--success-border); }
.cm-cons { background: #FFF1F2; border: 1px solid #FECDD3; }
.cm-pros h4, .cm-cons h4 { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: .4rem; }
.cm-pros h4 { color: var(--success); }
.cm-cons h4 { color: #E11D48; }
.cm-pros ul, .cm-cons ul { padding-left: 1.25rem; margin: 0; }
.cm-pros li, .cm-cons li { font-size: .88rem; margin-bottom: .35rem; }
.cm-pros li { color: #065F46; }
.cm-cons li { color: #9F1239; }

/* Bouton CTA affiliation */
.cm-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--primary); color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: .9rem 2rem; border-radius: 30px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.cm-cta-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,99,235,.4); }
.cm-cta-btn.green { background: var(--success); box-shadow: 0 4px 14px rgba(5,150,105,.35); }
.cm-cta-btn.green:hover { background: #047857; box-shadow: 0 6px 18px rgba(5,150,105,.4); }
.cm-cta-wrap { text-align: center; margin: 2rem 0; }
.cm-cta-wrap small { display: block; font-size: .75rem; color: var(--muted); margin-top: .5rem; }

/* Verdict éditorial */
.cm-verdict {
  background: linear-gradient(135deg, var(--primary-light), #EEF2FF);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.cm-verdict-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.cm-verdict-header h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 0; }
.cm-verdict-icon { font-size: 1.2rem; }
.cm-verdict p { font-size: .95rem; color: var(--dark); line-height: 1.7; margin: 0; font-style: italic; }

/* Tableau comparatif */
.cm-table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.cm-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cm-table thead { background: var(--dark); color: #fff; }
.cm-table th { padding: .9rem 1rem; text-align: left; font-weight: 600; font-size: .85rem; }
.cm-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cm-table tr:last-child td { border-bottom: none; }
.cm-table tr:nth-child(even) td { background: var(--bg); }
.cm-table .top-row td { background: var(--primary-light); font-weight: 600; }
.cm-table .check { color: var(--success); font-weight: 700; }
.cm-table .cross { color: #E11D48; }
.cm-table .prix { font-weight: 700; color: var(--dark); }
.cm-table .lien-btn { background: var(--primary); color: #fff; padding: .35rem .9rem; border-radius: 20px; font-size: .8rem; font-weight: 600; white-space: nowrap; display: inline-block; }
.cm-table .lien-btn:hover { background: var(--primary-dark); color: #fff; }

/* Note produit synthèse */
.cm-product-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 2rem 0; display: flex; gap: 1.5rem; align-items: flex-start; }
@media (max-width: 600px) { .cm-product-box { flex-direction: column; } }
.cm-product-score { text-align: center; min-width: 90px; }
.cm-product-score .score-circle { width: 72px; height: 72px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; margin: 0 auto .4rem; }
.cm-product-score .score-label { font-size: .72rem; color: var(--muted); }
.cm-product-info { flex: 1; }
.cm-product-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.cm-product-info .product-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.product-tag { font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 4px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }

/* =============================================
   SIDEBAR
============================================= */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; }
.sidebar-widget h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--primary); display: inline-block; }
.widget-title-wrap { margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: .75rem; }
.widget-title-wrap h3 { border: none; padding: 0; margin: 0; }

/* Top picks widget */
.top-pick-item { display: flex; gap: .9rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.top-pick-item:last-child { border: none; padding-bottom: 0; }
.top-pick-rank { width: 26px; height: 26px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.top-pick-rank.gold { background: #D97706; }
.top-pick-content .pick-name { font-size: .87rem; font-weight: 700; color: var(--dark); display: block; margin-bottom: .2rem; }
.top-pick-content .pick-score { font-size: .75rem; color: #F59E0B; }
.top-pick-content .pick-price { font-size: .78rem; color: var(--muted); }

/* Newsletter widget */
.newsletter-widget { background: linear-gradient(135deg, var(--dark), #1e3a8a); color: #fff; }
.newsletter-widget h3 { color: #fff; border-color: rgba(255,255,255,.3); }
.newsletter-widget p { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.newsletter-input-wrap { display: flex; flex-direction: column; gap: .5rem; }
.newsletter-input-wrap input { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; padding: .6rem .9rem; border-radius: var(--radius); font-size: .85rem; outline: none; }
.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input-wrap input:focus { border-color: rgba(255,255,255,.5); }
.newsletter-input-wrap button { background: #fff; color: var(--primary); border: none; padding: .65rem; border-radius: var(--radius); font-weight: 700; font-size: .85rem; cursor: pointer; transition: background var(--transition); }
.newsletter-input-wrap button:hover { background: var(--primary-light); }

/* =============================================
   FOOTER
============================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); margin-top: 4rem; }
.footer-top { padding: 3rem 0 2rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .footer-logo { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .75rem; display: block; }
.footer-brand p { font-size: .85rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 600; margin-bottom .9rem; letter-spacing: .5px; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .78rem; }
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .5rem; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .78rem; }
.footer-links a:hover { color: #fff; }

/* =============================================
   NICHE PAGES
============================================= */
.niche-hero { padding: 2.5rem 0; color: #fff; }
.niche-hero.saas { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.niche-hero.finance { background: linear-gradient(135deg, #064e3b, #059669); }
.niche-hero.sante { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.niche-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
.niche-hero p { color: rgba(255,255,255,.8); font-size: 1rem; }

/* =============================================
   UTILITAIRES
============================================= */
.badge { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: .25rem .65rem; border-radius: 4px; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .header-search { display: none; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-niches { gap: .6rem; }
  .hero-niche-card { min-width: 120px; padding: .75rem 1rem; }
  .niche-bar-inner { overflow-x: auto; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cm-pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .article-title { font-size: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   CONTACT FORM 7 — Charte ChoixSerein
============================================= */
.wpcf7-form { max-width: 560px; margin: 0 auto; }
.wpcf7-form p { margin-bottom: 1.25rem; }
.wpcf7-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: .4rem; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  box-sizing: border-box;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.wpcf7-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23334155' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.2rem; }

/* Case à cocher RGPD */
.wpcf7-acceptance .wpcf7-list-item { display: flex; align-items: flex-start; gap: .55rem; margin: 0; }
.wpcf7-acceptance input[type="checkbox"] { margin-top: .2rem; width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.wpcf7-acceptance .wpcf7-list-item-label { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.wpcf7-acceptance a { color: var(--primary); text-decoration: underline; }

/* Bouton d'envoi */
.wpcf7-form input[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .8rem 1.75rem;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
}
.wpcf7-form input[type="submit"]:hover { background: #1D4ED8; }
.wpcf7-form input[type="submit"]:active { transform: scale(.98); }
.wpcf7-form input[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }

/* Messages de validation / erreurs */
.wpcf7-not-valid-tip { color: #DC2626; font-size: .78rem; margin-top: .35rem; display: block; }
.wpcf7-form-control-wrap.has-error input,
.wpcf7-form-control-wrap.has-error textarea,
.wpcf7-form-control-wrap.has-error select { border-color: #DC2626; }

.wpcf7-response-output {
  margin-top: 1.25rem !important;
  padding: .85rem 1.1rem !important;
  border-radius: var(--radius) !important;
  font-size: .88rem !important;
}
.wpcf7-mail-sent-ok {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: var(--success) !important;
}
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #DC2626 !important;
}

/* Spinner d'envoi */
.wpcf7-spinner { margin-left: .5rem; }

@media (max-width: 480px) {
  .wpcf7-form { max-width: 100%; }
}

/* Newsletter — honeypot anti-spam (invisible humains, visible bots) */
.cm-hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cm-newsletter-feedback { font-size: .82rem; margin-top: .6rem; min-height: 1.2em; }
.cm-newsletter-feedback.success { color: var(--success, #059669); }
.cm-newsletter-feedback.error { color: #DC2626; }
.cm-newsletter-form button[disabled] { opacity: .6; cursor: not-allowed; }
