/*
Theme Name: Apprivoisé
Theme URI: http://cedricmercier.net/informatique
Author: Cédric Mercier
Description: Thème sur mesure pour un site de dépannage et de formation informatique à domicile. Conçu pour être lisible, rassurant et rapide — gros textes, fort contraste, aucune ressource externe.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: apprivoise
*/

/* ========================================================================
   1. Polices (auto-hébergées — aucun appel à un serveur extérieur, RGPD ok)
   ======================================================================== */
@font-face{font-family:'Nunito';src:url('assets/fonts/nunito-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Nunito';src:url('assets/fonts/nunito-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap;}
@font-face{font-family:'Source Sans 3';src:url('assets/fonts/sourcesans-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Source Sans 3';src:url('assets/fonts/sourcesans-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;}

/* ========================================================================
   2. Variables
   ======================================================================== */
:root{
  --ink:#152230;
  --ink-soft:#3d4d5c;
  --blue:#12506E;
  --blue-dk:#0C3A51;
  --blue-lt:#E4F0F6;
  --sky:#1B8FE3;
  --amber:#B65C08;
  --amber-dk:#8F4706;
  --amber-lt:#FCEEDD;
  --cream:#FBF6EE;
  --sand:#F3E9D9;
  --line:#E0D6C5;
  --white:#fff;
  --green:#1E6F4C;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 2px 3px rgba(21,34,48,.04), 0 10px 26px rgba(21,34,48,.07);
  --shadow-lg:0 4px 8px rgba(21,34,48,.06), 0 18px 44px rgba(21,34,48,.11);
  --font-title:'Nunito',"Trebuchet MS",system-ui,sans-serif;
  --font-body:'Source Sans 3',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --wrap:1140px;
  --prose:44rem;
}

/* ========================================================================
   3. Base
   ======================================================================== */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*{animation-duration:.01ms!important;transition-duration:.01ms!important;}}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--font-body);font-size:19px;line-height:1.65;
  font-weight:400;-webkit-font-smoothing:antialiased;
}
@media (min-width:900px){body{font-size:20px;}}
img{max-width:100%;height:auto;display:block;}
a{color:var(--blue);text-underline-offset:3px;text-decoration-thickness:2px;}
a:hover{color:var(--amber-dk);}
:focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:4px;}
h1,h2,h3,h4{font-family:var(--font-title);font-weight:800;line-height:1.14;color:var(--blue-dk);margin:0 0 .5em;letter-spacing:-.015em;}
h1{font-size:clamp(2.1rem,5.6vw,3.5rem);}
h2{font-size:clamp(1.7rem,4vw,2.5rem);}
h3{font-size:clamp(1.25rem,2.4vw,1.55rem);font-weight:700;}
h4{font-size:1.1rem;font-weight:700;}
p{margin:0 0 1.1em;}
ul,ol{margin:0 0 1.2em;padding-left:1.3em;}
li{margin-bottom:.45em;}
strong{font-weight:600;color:var(--ink);}
hr{border:0;border-top:2px dashed var(--line);margin:3rem 0;}
blockquote{margin:0 0 1.2em;padding:1.1rem 1.4rem;background:var(--blue-lt);border-left:6px solid var(--blue);border-radius:0 var(--radius-sm) var(--radius-sm) 0;}
blockquote p:last-child{margin-bottom:0;}
.ico{width:1.15em;height:1.15em;flex:none;vertical-align:-.18em;}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--blue-dk);color:#fff;padding:.8rem 1.2rem;z-index:999;border-radius:0 0 8px 0;}
.skip-link:focus{left:0;color:#fff;}

/* ========================================================================
   4. Structure
   ======================================================================== */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:20px;}
@media (min-width:700px){.wrap{padding-inline:32px;}}
.section{padding-block:clamp(2.75rem,7vw,5rem);}
.section--cream{background:var(--cream);}
.section--sand{background:var(--sand);}
.section--blue{background:var(--blue-dk);color:#EAF3F8;}
.section--blue h2,.section--blue h3{color:#fff;}
.section--blue a{color:#FFD9AE;}
.section--blue strong,.cta strong{color:#fff;}
.section-head{max-width:46rem;margin-bottom:2.25rem;}
.section-head p{font-size:1.1em;color:var(--ink-soft);margin-bottom:0;}
.section--blue .section-head p{color:#C7DCE8;}
.eyebrow{display:inline-block;font-family:var(--font-title);font-weight:800;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-dk);margin-bottom:.7rem;}
.section--blue .eyebrow{color:#F6B771;}
.prose{max-width:var(--prose);}
.center{text-align:center;}
.mt0{margin-top:0;}

/* ========================================================================
   5. Boutons
   ======================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-family:var(--font-title);font-weight:800;font-size:1.05rem;line-height:1.2;
  padding:.9rem 1.6rem;border-radius:999px;border:2px solid transparent;
  text-decoration:none;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
  min-height:56px;
}
.btn:hover{transform:translateY(-2px);}
.btn--primary{background:var(--amber);color:#fff;box-shadow:0 6px 18px rgba(182,92,8,.28);}
.btn--primary:hover{background:var(--amber-dk);color:#fff;box-shadow:0 10px 24px rgba(143,71,6,.32);}
.btn--ghost{background:#fff;color:var(--blue-dk);border:2px solid var(--blue);}
.btn--ghost:hover{background:var(--blue-lt);color:var(--blue-dk);}
.btn--light{background:#fff;color:var(--blue-dk);}
.btn--light:hover{background:var(--cream);color:var(--blue-dk);}
.btn-row{display:flex;flex-wrap:wrap;gap:.9rem;align-items:center;}
.btn .ico{width:1.15em;height:1.15em;flex:none;}

/* ========================================================================
   6. En-tête
   ======================================================================== */
.site-header{background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;transition:box-shadow .25s ease;}
.site-header.is-scrolled{box-shadow:0 6px 24px rgba(21,34,48,.08);}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.85rem;}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;flex:none;}
.brand__mark{width:46px;height:46px;flex:none;}
.brand__name{font-family:var(--font-title);font-weight:800;font-size:1.22rem;color:var(--blue-dk);line-height:1.1;letter-spacing:-.02em;}
.brand__tag{display:block;font-family:var(--font-body);font-weight:600;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--amber-dk);margin-top:2px;}
.nav{display:none;}
.nav ul{display:flex;gap:.35rem;list-style:none;margin:0;padding:0;}
.nav li{margin:0;}
.nav a{display:block;white-space:nowrap;padding:.5rem .7rem;font-size:.97rem;border-radius:10px;text-decoration:none;font-weight:600;font-size:1rem;color:var(--ink);}
.nav a:hover{background:var(--blue-lt);color:var(--blue-dk);}
.nav .current-menu-item>a{background:var(--blue-lt);color:var(--blue-dk);box-shadow:inset 0 -3px 0 var(--blue);}
.header-tel{display:inline-flex;align-items:center;gap:.5rem;background:var(--amber);color:#fff;font-family:var(--font-title);font-weight:800;text-decoration:none;padding:.7rem 1.1rem;border-radius:999px;font-size:1.02rem;white-space:nowrap;box-shadow:0 4px 14px rgba(182,92,8,.25);}
.header-tel:hover{background:var(--amber-dk);color:#fff;}
.header-tel .ico{width:1.1em;height:1.1em;}
.menu-toggle{display:inline-flex;align-items:center;gap:.5rem;background:var(--white);border:2px solid var(--blue);color:var(--blue-dk);font-family:var(--font-title);font-weight:800;padding:.6rem 1rem;border-radius:999px;font-size:1rem;cursor:pointer;min-height:52px;}
.mobile-nav{display:none;border-top:2px solid var(--line);background:var(--cream);}
.mobile-nav.is-open{display:block;}
.mobile-nav ul{list-style:none;margin:0;padding:.6rem 0 1rem;}
.mobile-nav li{margin:0;}
.mobile-nav a{display:block;padding:.85rem 20px;font-weight:600;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line);}
.mobile-nav .current-menu-item>a{color:var(--blue-dk);background:var(--blue-lt);}
@media (min-width:1180px){
  .nav{display:block;}
  .menu-toggle{display:none;}
  .mobile-nav{display:none!important;}
}
@media (max-width:519px){
  .header-tel span.lbl{display:none;}
  .header-tel{padding:.7rem .9rem;}
  .brand__mark{width:40px;height:40px;}
  .brand__name{font-size:1.05rem;}
}

/* ========================================================================
   7. Hero
   ======================================================================== */
.hero{background:linear-gradient(175deg,var(--cream) 0%,var(--sand) 100%);overflow:hidden;}
.hero__grid{display:grid;gap:2rem;padding-block:clamp(2.25rem,6vw,4rem);align-items:center;}
@media (min-width:960px){.hero__grid{grid-template-columns:1.05fr .95fr;gap:3rem;}}
.hero h1{margin-bottom:.35em;}
.hero h1 .hl{color:var(--amber-dk);}
.hero__lead{font-size:1.2em;color:var(--ink-soft);max-width:34rem;margin-bottom:1.6rem;}
.hero__img{margin-inline:auto;}
.hero__note{margin-top:1.4rem;font-size:.95em;color:var(--ink-soft);display:flex;align-items:flex-start;gap:.55rem;}
.hero__note .ico{width:1.3em;height:1.3em;color:var(--green);flex:none;margin-top:.15em;}

/* Bandeau de réassurance */
.trustbar{background:var(--blue-dk);color:#EAF3F8;}
.trustbar ul{display:grid;gap:.6rem 2rem;list-style:none;margin:0;padding:1rem 0;font-weight:600;font-size:.98rem;}
@media (min-width:760px){.trustbar ul{grid-template-columns:repeat(3,1fr);padding:.95rem 0;}}
.trustbar li{display:flex;align-items:center;gap:.6rem;margin:0;}
.trustbar .ico{width:1.3em;height:1.3em;color:#7ED0A4;flex:none;}

/* ========================================================================
   8. Cartes & grilles
   ======================================================================== */
.grid{display:grid;gap:1.4rem;}
.grid--2{grid-template-columns:1fr;}
.grid--3{grid-template-columns:1fr;}
.grid--4{grid-template-columns:1fr;}
@media (min-width:640px){.grid--2,.grid--4{grid-template-columns:repeat(2,1fr);}}
@media (min-width:900px){.grid--3{grid-template-columns:repeat(3,1fr);}.grid--4{grid-template-columns:repeat(4,1fr);}}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.5rem;box-shadow:var(--shadow);}
.card h3{margin-bottom:.45em;}
.card p:last-child,.card ul:last-child{margin-bottom:0;}
.card--tinted{background:var(--cream);}
.card__ico{width:52px;height:52px;border-radius:14px;background:var(--blue-lt);color:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;}
.card__ico svg{width:28px;height:28px;}
.card--amber .card__ico{background:var(--amber-lt);color:var(--amber-dk);}
.card--green .card__ico{background:#E2F2EA;color:var(--green);}
.card a.more{display:inline-flex;align-items:center;gap:.4rem;margin-top:.9rem;font-weight:600;text-decoration-thickness:2px;}
.card a.more .ico{width:1em;height:1em;}

/* Liste « ça vous parle ? » */
.quotes{display:grid;gap:1.1rem;}
@media (min-width:700px){.quotes{grid-template-columns:repeat(2,1fr);}}
.quote{background:var(--white);border:2px solid var(--line);border-radius:var(--radius);padding:1.3rem 1.4rem;font-size:1.06em;position:relative;}
.quote::before{content:"«";position:absolute;top:-.25rem;left:.7rem;font-family:var(--font-title);font-size:3.2rem;color:var(--sand);line-height:1;}
.quote p{margin:0;padding-left:1.6rem;}
.quote p+p{margin-top:.6rem;color:var(--green);font-weight:600;font-size:.94em;}

/* Étapes */
.steps{counter-reset:step;display:grid;gap:1.3rem;}
@media (min-width:860px){.steps{grid-template-columns:repeat(4,1fr);}}
.step{position:relative;padding-top:.4rem;}
.step__num{counter-increment:step;width:46px;height:46px;border-radius:50%;background:var(--amber);color:#fff;font-family:var(--font-title);font-weight:800;font-size:1.3rem;display:flex;align-items:center;justify-content:center;margin-bottom:.8rem;}
.step__num::before{content:counter(step);}
.step h3{font-size:1.15rem;margin-bottom:.35em;}
.step p{margin:0;color:var(--ink-soft);font-size:.99em;}

/* Engagements */
.pledges{display:grid;gap:1rem;list-style:none;padding:0;margin:0;}
@media (min-width:640px){.pledges{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1000px){.pledges{grid-template-columns:repeat(3,1fr);}}
.pledges li{display:flex;gap:.8rem;margin:0;background:var(--white);border:2px solid var(--line);border-radius:var(--radius-sm);padding:1.1rem 1.2rem;}
.pledges .ico{width:1.55em;height:1.55em;color:var(--green);flex:none;margin-top:.1em;}
.pledges strong{display:block;font-family:var(--font-title);font-weight:800;color:var(--blue-dk);font-size:1.05rem;margin-bottom:.15rem;}
.pledges span.txt{font-size:.97em;color:var(--ink-soft);}

/* ========================================================================
   9. Tarifs
   ======================================================================== */
.pricing{display:grid;gap:1.4rem;}
@media (min-width:880px){.pricing{grid-template-columns:repeat(3,1fr);}}
.price{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem 1.5rem;display:flex;flex-direction:column;box-shadow:var(--shadow);}
.price--star{border-color:var(--amber);box-shadow:var(--shadow-lg);position:relative;}
.price__flag{position:absolute;top:-16px;left:50%;transform:translateX(-50%);background:var(--amber);color:#fff;font-family:var(--font-title);font-weight:800;font-size:.85rem;letter-spacing:.04em;padding:.35rem 1rem;border-radius:999px;white-space:nowrap;}
.price h3{margin-bottom:.2em;}
.price__amount{font-family:var(--font-title);font-weight:800;font-size:2.6rem;color:var(--amber-dk);line-height:1;margin:.5rem 0 .2rem;}
.price__unit{color:var(--ink-soft);font-size:.95em;margin-bottom:1rem;}
.price ul{list-style:none;padding:0;margin:0 0 1.3rem;}
.price li{display:flex;gap:.6rem;font-size:.99em;margin-bottom:.5rem;}
.price li::before{content:"\2713";color:var(--green);font-weight:800;font-family:var(--font-title);flex:none;line-height:1.55;}
.price .btn{margin-top:auto;width:100%;}

.tariff-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.tariff-table caption{caption-side:top;text-align:left;font-family:var(--font-title);font-weight:800;font-size:1.3rem;color:var(--blue-dk);padding-bottom:.7rem;}
.tariff-table th,.tariff-table td{padding:.95rem 1.1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;}
.tariff-table thead th{background:var(--blue-lt);color:var(--blue-dk);font-family:var(--font-title);font-weight:800;}
.tariff-table td:last-child,.tariff-table th:last-child{text-align:right;white-space:nowrap;font-weight:600;color:var(--amber-dk);}
.tariff-table tr:last-child td{border-bottom:0;}
.tariff-table tbody tr:nth-child(even){background:var(--cream);}
.table-scroll{overflow-x:auto;margin-bottom:1.5rem;}

/* ========================================================================
   10. Thèmes de formation / listes à puces vertes
   ======================================================================== */
.ticks{list-style:none;padding:0;margin:0 0 1.2em;display:grid;gap:.75rem;}
@media (min-width:700px){.ticks--2{grid-template-columns:repeat(2,1fr);}}
.ticks li{display:flex;gap:.7rem;margin:0;}
.ticks li::before{content:"\2713";color:var(--green);font-weight:800;font-family:var(--font-title);flex:none;line-height:1.5;}
.section--blue .ticks li::before{color:#7ED0A4;}

/* ========================================================================
   11. FAQ
   ======================================================================== */
.faq{max-width:52rem;}
.faq details{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:.85rem;overflow:hidden;}
.faq details[open]{border-color:var(--blue);}
.faq summary{cursor:pointer;padding:1.05rem 1.3rem;font-family:var(--font-title);font-weight:800;font-size:1.08rem;color:var(--blue-dk);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";font-size:1.7rem;line-height:1;color:var(--amber-dk);flex:none;}
.faq details[open] summary::after{content:"–";}
.faq summary:hover{background:var(--cream);}
.faq .faq__body{padding:0 1.3rem 1.2rem;}
.faq .faq__body p:last-child{margin-bottom:0;}

/* ========================================================================
   12. Zone d'intervention
   ======================================================================== */
.zone{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none;padding:0;margin:0 0 1.2rem;}
.zone li{margin:0;background:var(--white);border:1px solid var(--line);border-radius:999px;padding:.4rem 1rem;font-weight:600;font-size:.97rem;}

/* ========================================================================
   13. Encadrés
   ======================================================================== */
.callout{background:var(--amber-lt);border:1px solid #EFD3AE;border-left:5px solid var(--amber);border-radius:var(--radius-sm);padding:1.3rem 1.5rem;margin:1.8rem 0;}
.callout h3{margin-top:0;font-size:1.2rem;display:flex;align-items:center;gap:.5rem;}
.callout h3 .ico{width:1.1em;height:1.1em;color:var(--amber-dk);}
.callout--blue h3 .ico{color:var(--blue);}
.callout p:last-child{margin-bottom:0;}
.callout--blue{background:var(--blue-lt);border-color:#BFDCE9;border-left-color:var(--blue);}
.callout--green{background:#E6F4EC;border-color:#BFE0CE;border-left-color:var(--green);}

/* ========================================================================
   14. Formulaire de contact
   ======================================================================== */
.contact-grid{display:grid;gap:2.2rem;}
@media (min-width:920px){.contact-grid{grid-template-columns:1.1fr .9fr;gap:3rem;}}
.form{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem 1.6rem;box-shadow:var(--shadow);}
.form p.field{margin-bottom:1.15rem;}
.form label{display:block;font-family:var(--font-title);font-weight:800;color:var(--blue-dk);margin-bottom:.35rem;font-size:1.02rem;}
.form .hint{display:block;font-family:var(--font-body);font-weight:400;font-size:.88rem;color:var(--ink-soft);margin-top:-.15rem;margin-bottom:.4rem;}
.form input[type=text],.form input[type=email],.form input[type=tel],.form select,.form textarea{
  width:100%;font-family:var(--font-body);font-size:1.05rem;padding:.85rem 1rem;border:2px solid #C9BFAE;border-radius:12px;background:#fff;color:var(--ink);min-height:56px;
}
.form textarea{min-height:150px;resize:vertical;}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--blue);outline:3px solid rgba(27,143,227,.25);outline-offset:0;}
.form .required{color:var(--amber-dk);}
.form .hp{position:absolute;left:-9999px;}
.form .consent{display:flex;gap:.7rem;align-items:flex-start;font-size:.94em;color:var(--ink-soft);}
.form .consent input{margin-top:.35em;width:22px;height:22px;flex:none;}
.notice{border-radius:var(--radius-sm);padding:1.1rem 1.3rem;margin-bottom:1.5rem;border:2px solid;font-weight:600;}
.notice--ok{background:#E6F4EC;border-color:var(--green);color:#14523a;}
.notice--err{background:#FDECEC;border-color:#B33A3A;color:#8A2626;}
.contact-aside .card{margin-bottom:1.2rem;}
.bigtel{display:flex;white-space:nowrap;align-items:center;gap:.8rem;font-family:var(--font-title);font-weight:800;font-size:clamp(1.5rem,4vw,1.9rem);color:var(--blue-dk);text-decoration:none;}
.bigtel .ico{width:1.1em;height:1.1em;color:var(--amber);flex:none;}
.bigtel:hover{color:var(--amber-dk);}

/* ========================================================================
   15. CTA final
   ======================================================================== */
.cta{background:var(--blue-dk);color:#EAF3F8;border-radius:var(--radius);padding:clamp(1.8rem,5vw,3rem);text-align:center;}
.cta h2{color:#fff;margin-bottom:.4em;}
.cta p{max-width:38rem;margin-inline:auto;color:#C7DCE8;font-size:1.08em;}
.cta .btn-row{justify-content:center;margin-top:1.6rem;}

/* ========================================================================
   16. Pied de page
   ======================================================================== */
.site-footer{background:var(--blue-dk);color:#C7DCE8;padding-block:3rem 2rem;margin-top:0;}
.site-footer strong{color:#fff;}
.site-footer a{color:#EAF3F8;}
.site-footer a:hover{color:#FFD9AE;}
.footer-grid{display:grid;gap:2rem;}
@media (min-width:760px){.footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:2.5rem;}}
.site-footer h3{color:#fff;font-size:1.1rem;margin-bottom:.7rem;}
.site-footer ul{list-style:none;padding:0;margin:0;}
.site-footer li{margin-bottom:.5rem;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:2.2rem;padding-top:1.4rem;font-size:.9rem;display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;justify-content:space-between;}
.footer-brand{display:flex;align-items:center;gap:.7rem;margin-bottom:.9rem;}
.footer-brand .brand__name{color:#fff;}

/* ========================================================================
   17. Pages intérieures
   ======================================================================== */
.page-hero{background:var(--cream);border-bottom:1px solid var(--line);padding-block:clamp(2rem,5vw,3.2rem);}
.page-hero h1{margin-bottom:.25em;}
.page-hero .lead{font-size:1.15em;color:var(--ink-soft);max-width:40rem;margin-bottom:0;}
.breadcrumb{font-size:.92rem;color:var(--ink-soft);margin-bottom:.8rem;}
.breadcrumb a{color:var(--ink-soft);}
.entry-content>*{max-width:var(--prose);}
.entry-content>.wp-block-group,.entry-content>.alignwide,.entry-content>.alignfull,.entry-content>.wp-block-columns,
.entry-content>table,.entry-content>.table-scroll,.entry-content>.grid,.entry-content>.pricing,
.entry-content>.contact-grid,.entry-content>.ticks,.entry-content>.faq,.entry-content>.quotes,
.entry-content>.steps,.entry-content>.pledges{max-width:none;}
.entry-content>.ticks--2{max-width:62rem;}
.entry-content h2{margin-top:2.2em;}
.entry-content h2:first-child{margin-top:0;}
.entry-content h3{margin-top:1.8em;}

/* Blocs Gutenberg de base */
.wp-block-image{margin-bottom:1.5rem;}
.wp-block-image img{border-radius:var(--radius-sm);}
.wp-block-columns{display:grid;gap:1.4rem;margin-bottom:1.5rem;}
@media (min-width:782px){.wp-block-columns{grid-auto-flow:column;grid-auto-columns:1fr;}}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.9rem;margin-bottom:1.5rem;}
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-title);font-weight:800;font-size:1.05rem;padding:.95rem 1.7rem;border-radius:999px;background:var(--amber);color:#fff;text-decoration:none;box-shadow:0 4px 0 var(--amber-dk);min-height:56px;}
.wp-block-button__link:hover{background:var(--amber-dk);color:#fff;}
.is-style-outline .wp-block-button__link{background:#fff;color:var(--blue-dk);border:3px solid var(--blue);box-shadow:0 4px 0 rgba(18,80,110,.25);}

/* 404 / recherche */
.mini-page{padding-block:clamp(3rem,8vw,5rem);}

/* ========================================================================
   18. Version 2 — illustrations, grandes photos, animations discrètes
   ======================================================================== */

/* Apparition au défilement (activée seulement si le JS tourne) */
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--d,0) * 90ms);}
.js .reveal--left{transform:translateX(-28px);}
.js .reveal--right{transform:translateX(28px);}
.js .reveal.is-visible{opacity:1;transform:none;}

/* Hero */
.hero{position:relative;}
.hero::after{content:"";position:absolute;right:-12%;top:-30%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(27,143,227,.10) 0%,transparent 65%);pointer-events:none;}
.hero__grid{position:relative;z-index:1;padding-block:clamp(2.5rem,7vw,5.5rem);}
.hero__lead{font-size:1.25em;max-width:32rem;}
.hero__facts{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;padding:0;margin:1.8rem 0 0;font-weight:600;color:var(--ink-soft);font-size:.97em;}
.hero__facts li{display:flex;align-items:center;gap:.45rem;margin:0;}
.hero__facts .ico{color:var(--green);width:1.2em;height:1.2em;}
.hero__visual{position:relative;}
.hero__visual img{animation:heroFloat 7s ease-in-out infinite;}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* Services en alternance, grandes photos */
.feature{display:grid;gap:1.6rem;align-items:center;margin-bottom:clamp(3rem,7vw,5.5rem);}
.feature:last-child{margin-bottom:0;}
@media (min-width:900px){
  .feature{grid-template-columns:1.15fr .85fr;gap:clamp(2.5rem,5vw,4.5rem);}
  .feature--flip{grid-template-columns:.85fr 1.15fr;}
  .feature--flip .feature__media{order:2;}
}
.feature__media{border-radius:26px;overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:4/3;background:var(--sand);}
.feature__media picture,.feature__media img{width:100%;height:100%;object-fit:cover;}
.feature__media img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1);}
.feature:hover .feature__media img{transform:scale(1.04);}
.feature__num{display:block;font-family:var(--font-title);font-weight:800;font-size:.95rem;letter-spacing:.14em;color:var(--amber-dk);margin-bottom:.6rem;}
.feature__num::after{content:"";display:inline-block;width:42px;height:2px;background:currentColor;vertical-align:middle;margin-left:.7rem;opacity:.5;}
.feature h3{font-size:clamp(1.6rem,3vw,2.1rem);}
.feature p{color:var(--ink-soft);font-size:1.08em;}
.more{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:2px;}
.more .ico{width:1em;height:1em;transition:transform .2s ease;}
.more:hover .ico{transform:translateX(4px);}

/* Illustrations */
.illu{display:block;width:100%;height:auto;}
.illu__bg{transition:fill .3s ease;}


/* Grille des sujets */
.topics{list-style:none;padding:0;margin:0;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);}
@media (min-width:640px){.topics{grid-template-columns:repeat(3,1fr);}}
@media (min-width:980px){.topics{grid-template-columns:repeat(4,1fr);gap:1.3rem;}}
.topic{margin:0;background:#fff;border:1px solid var(--line);border-radius:22px;padding:1rem 1rem 1.2rem;text-align:center;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.topic .illu{max-width:170px;margin:0 auto .6rem;}
.topic span{display:block;font-family:var(--font-title);font-weight:700;color:var(--blue-dk);font-size:1.02rem;line-height:1.25;}
.topic:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:#cfdde6;}
.topic:hover .illu__bg{fill:#D6E8F2;}
.topic--more a{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-decoration:none;gap:.8rem;min-height:150px;}
.topic__plus{display:flex!important;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:var(--amber);color:#fff!important;font-size:2rem!important;transition:transform .3s ease;}
.topic--more:hover .topic__plus{transform:rotate(90deg);}
.topic--more{background:var(--amber-lt);border-color:#EFD3AE;}

/* Animations des illustrations — au survol ou à l’apparition */
.illu__float{animation:iFloat 4s ease-in-out infinite;}
@keyframes iFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.illu__blink{animation:iBlink 2.4s ease-in-out infinite;}
@keyframes iBlink{0%,60%,100%{opacity:1}75%{opacity:.25}}
.illu__wave{animation:iWave 2.4s ease-in-out infinite;}
.illu__wave--2{animation-delay:.25s}.illu__wave--3{animation-delay:.5s}
@keyframes iWave{0%,100%{opacity:1}50%{opacity:.25}}
.illu__dots circle{animation:iDots 1.4s ease-in-out infinite;}
.illu__dots circle:nth-child(2){animation-delay:.2s}.illu__dots circle:nth-child(3){animation-delay:.4s}
@keyframes iDots{0%,100%{transform:translateY(0);opacity:.6}50%{transform:translateY(-3px);opacity:1}}
.illu__spark{animation:iSpark 3s ease-in-out infinite;}
@keyframes iSpark{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.15) rotate(20deg)}}
.illu__needle{transform:rotate(-70deg);transition:transform 1.4s cubic-bezier(.2,.8,.2,1);}
.illu__gauge{stroke-dashoffset:100;transition:stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1);}
.is-visible .illu__needle,.no-js .illu__needle{transform:rotate(0);}
.is-visible .illu__gauge,.no-js .illu__gauge{stroke-dashoffset:30;}
.illu__check{stroke-dashoffset:100;transition:stroke-dashoffset .6s ease .3s;}
.illu__check--2{transition-delay:.6s}.illu__check--3{transition-delay:.9s}
.is-visible .illu__check,.no-js .illu__check{stroke-dashoffset:0;}
.illu__paper{transition:transform .5s ease;}
.topic:hover .illu__paper,.icard:hover .illu__paper{transform:translateY(-6px);}
.illu__tilt{transition:transform .4s ease;}
.topic:hover .illu__tilt,.icard:hover .illu__tilt,.flow__step:hover .illu__tilt{transform:rotate(-5deg);}
.illu__up{animation:iUp 2.6s ease-in-out infinite;}
@keyframes iUp{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.illu__hand{animation:iHand 2.8s ease-in-out infinite;}
@keyframes iHand{0%,70%,100%{transform:rotate(0)}78%{transform:rotate(14deg)}86%{transform:rotate(-8deg)}94%{transform:rotate(10deg)}}
.illu__ring{animation:iRing 3.2s ease-in-out infinite;}
@keyframes iRing{0%,80%,100%{transform:rotate(0)}84%{transform:rotate(-8deg)}88%{transform:rotate(8deg)}92%{transform:rotate(-5deg)}}
.illu__window{animation:iBlink 4s ease-in-out infinite;}

/* Étapes illustrées, reliées par une ligne qui se dessine */
.flow{list-style:none;padding:0;margin:0;display:grid;gap:1.6rem;position:relative;counter-reset:flow;}
@media (min-width:860px){
  .flow{grid-template-columns:repeat(4,1fr);gap:1.8rem;}
  .flow::before{content:"";position:absolute;left:12%;right:12%;top:62px;height:2px;background:repeating-linear-gradient(90deg,var(--line) 0 10px,transparent 10px 18px);z-index:0;}
}
.flow__step{position:relative;z-index:1;margin:0;text-align:center;counter-increment:flow;}
.flow__step .illu{max-width:170px;margin:0 auto 1rem;transition:transform .3s ease;}
.flow__step:hover .illu{transform:translateY(-4px);}
.flow__step h3{font-size:1.2rem;margin-bottom:.3em;}
.flow__step h3::before{content:counter(flow,decimal-leading-zero) " ";color:var(--amber-dk);font-size:.9rem;letter-spacing:.08em;}
.flow__step p{color:var(--ink-soft);margin:0 auto;max-width:16rem;font-size:.98em;}

/* Bandeau photo pleine largeur avec parallaxe douce */
.band{position:relative;overflow:hidden;min-height:clamp(440px,60vw,620px);display:flex;align-items:center;}
.band__media{position:absolute;inset:-12% 0;will-change:transform;}
.band__media picture,.band__media img{width:100%;height:100%;object-fit:cover;}
.band::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,58,81,.55) 0%,rgba(12,58,81,.15) 60%,transparent 100%);}
.band__inner{position:relative;z-index:1;padding-block:3rem;}
.band__card{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:24px;padding:clamp(1.6rem,4vw,2.6rem);max-width:36rem;box-shadow:var(--shadow-lg);}
.band__card .ticks{margin-bottom:0;}
@media (min-width:700px){.band__card .ticks--2{grid-template-columns:1fr;}}

/* Zone + alerte */
.split{display:grid;gap:2.5rem;align-items:center;}
@media (min-width:900px){.split{grid-template-columns:1.1fr .9fr;gap:3.5rem;}}
.alert-card{display:grid;grid-template-columns:120px 1fr;gap:1.2rem;align-items:center;background:var(--blue-lt);border-radius:24px;padding:1.5rem;}
.alert-card__illu{width:120px;}
.alert-card__illu .illu__bg{fill:#fff;}
.alert-card h3{font-size:1.2rem;}
.alert-card p{margin:0;font-size:.98em;color:var(--ink-soft);}
@media (max-width:480px){.alert-card{grid-template-columns:1fr;}.alert-card__illu{width:110px;}}

/* CTA avec photo */
.cta--photo{display:grid;padding:0;overflow:hidden;text-align:left;}
@media (min-width:900px){.cta--photo{grid-template-columns:.9fr 1.1fr;}}
.cta__media{min-height:260px;}
.cta__media picture,.cta__media img{width:100%;height:100%;object-fit:cover;}
.cta__body{padding:clamp(1.8rem,5vw,3.2rem);align-self:center;}
.cta--photo p{margin-inline:0;}
.cta--photo .btn-row{justify-content:flex-start;}

/* Compteurs de prix */
[data-count]{font-variant-numeric:tabular-nums;}

/* Pages intérieures avec grande photo */
.page-hero--photo{padding-block:clamp(2rem,5vw,3.5rem);overflow:hidden;}
.page-hero__grid{display:grid;gap:2rem;align-items:center;}
@media (min-width:960px){.page-hero--photo .page-hero__grid{grid-template-columns:1fr 1fr;gap:3.5rem;}}
.page-hero__media{border-radius:26px;overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:16/10;}
.page-hero__media picture,.page-hero__media img{width:100%;height:100%;object-fit:cover;}
.page-hero .lead{font-size:1.2em;}

/* Cartes illustrées (pages) */
.icards{display:grid;gap:1.1rem;grid-template-columns:repeat(2,1fr);margin-bottom:2rem;}
@media (min-width:760px){.icards{grid-template-columns:repeat(3,1fr);gap:1.3rem;}}
@media (min-width:1000px){.icards--4{grid-template-columns:repeat(4,1fr);}}
.icard{background:#fff;border:1px solid var(--line);border-radius:22px;padding:1.1rem 1.2rem 1.3rem;transition:transform .25s ease,box-shadow .25s ease;}
.icard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.icard .illu{max-width:150px;margin:0 0 .8rem;}
.icard h3{font-size:1.12rem;margin:0 0 .3em!important;}
.icard p{margin:0;color:var(--ink-soft);font-size:.95em;line-height:1.5;}
@media (max-width:480px){.icard{padding:.9rem;}.icard p{font-size:.9em;}}

/* Frise numérotée */
.timeline{list-style:none;counter-reset:tl;padding:0;margin:0 0 2rem;display:grid;gap:1rem;}
@media (min-width:760px){.timeline{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}}
.timeline li{counter-increment:tl;margin:0;padding:1.1rem 1.2rem 1.2rem;background:var(--cream);border-radius:18px;border-top:3px solid var(--amber);}
.timeline li::before{content:counter(tl,decimal-leading-zero);display:block;font-family:var(--font-title);font-weight:800;color:var(--amber-dk);font-size:.9rem;letter-spacing:.1em;margin-bottom:.3rem;}
.timeline strong{display:block;font-family:var(--font-title);color:var(--blue-dk);font-size:1.08rem;margin-bottom:.2rem;}
.timeline span{color:var(--ink-soft);font-size:.96em;}

/* Faits clés */
.facts{display:grid;gap:1rem;margin:1.5rem 0 2rem;}
@media (min-width:700px){.facts{grid-template-columns:repeat(3,1fr);}.facts--4{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1000px){.facts--4{grid-template-columns:repeat(4,1fr);}}
.fact{background:var(--blue-lt);border-radius:18px;padding:1.1rem 1.2rem;}
.fact strong{display:block;font-family:var(--font-title);font-weight:800;color:var(--blue-dk);font-size:1.08rem;margin-bottom:.2rem;}
.fact span{color:var(--ink-soft);font-size:.96em;line-height:1.5;display:block;}

/* Bloc texte + illustration */
.split-block{display:grid;gap:1.5rem;align-items:center;margin-bottom:1rem;}
@media (min-width:760px){.split-block{grid-template-columns:1.3fr .7fr;gap:2.5rem;}}
.illu--xl{max-width:280px;margin-inline:auto;}
.split-block h2{margin-top:0!important;}

/* Onglets (page tarifs) */
.tabs__list{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.2rem;background:var(--cream);padding:.4rem;border-radius:999px;width:fit-content;max-width:100%;}
.tabs__list button{font:inherit;font-family:var(--font-title);font-weight:700;font-size:1rem;border:0;background:transparent;color:var(--ink-soft);padding:.7rem 1.3rem;border-radius:999px;cursor:pointer;min-height:48px;transition:background .2s ease,color .2s ease,box-shadow .2s ease;}
.tabs__list button[aria-selected="true"]{background:#fff;color:var(--blue-dk);box-shadow:var(--shadow);}
.tabs__panel{animation:tabIn .35s ease;}
@keyframes tabIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.no-js .tabs__panel[hidden]{display:block;}
.entry-content>.tabs,.entry-content>.icards,.entry-content>.timeline,.entry-content>.facts,.entry-content>.split-block{max-width:none;}
.small-print{font-size:.9rem;color:var(--ink-soft);}

/* Mouvement réduit : tout reste visible et immobile */
@media (prefers-reduced-motion:reduce){
  .js .reveal{opacity:1;transform:none;}
  .hero__visual img,.illu *{animation:none!important;}
  .illu__needle{transform:none;}.illu__gauge{stroke-dashoffset:30;}.illu__check{stroke-dashoffset:0;}
  .band__media{transform:none!important;}
}
@media (max-width:859px){
  .flow{grid-template-columns:repeat(2,1fr);gap:1.4rem 1rem;}
  .flow__step .illu{max-width:120px;}
  .flow__step p{font-size:.92em;}
}
html,body{overflow-x:clip;}
