/* FINITION EDITORIALE — novembre 2026
   Présentation uniquement. Typographie, textes, offres et fonctions conservés.
   Un rythme de pages et des séparateurs plutôt qu'une accumulation de cartes. */
:root{
 --samuel-cream:#fffcf4;
 --samuel-paper:#f7f4ec;
 --samuel-sage:#e7e9dc;
 --samuel-pine:#28463c;
 --samuel-line:#cbd3c6;
 --samuel-copy:#28362f;
 --samuel-muted:#5d6d69;
 --border:#d6dcd1;
 --muted:#61716b;
 --shadow:0 7px 24px rgba(34,57,42,.035);
 --radius:12px;
}
body{color:var(--text);background:var(--samuel-cream)}
.header{background:rgba(255,252,244,.97);border-bottom:1px solid #d6ddce;backdrop-filter:blur(10px)}
.header .student-header-button{box-shadow:none;border-radius:9px}
.header .student-header-button:hover{box-shadow:0 4px 12px rgba(37,99,235,.10)}
/* Plus de pastilles partout : une petite signature typographique. */
.subtitle{
 background:transparent;color:#3b5d4f;border-radius:0;
 font-size:.75rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;
 padding:0 0 9px;border-bottom:1px solid #85998b;
}
.section-title{text-align:left;max-width:850px;margin:0 0 38px}
.section-title h2{letter-spacing:-.04em;line-height:1.12;margin-top:22px}
.section-title p{font-size:1.02rem;color:#5e6f68;max-width:780px;line-height:1.77}
.section-title h1{margin-top:12px}
.section{padding-top:84px;padding-bottom:88px}
/* Le grand document se montre directement : pas de carte blanche autour d'un cadre gris. */
#exemples .section-title{max-width:900px}
.pdf-preview-box{max-width:950px;padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.pdf-preview-header{margin:0 0 22px;padding:0 0 23px;border-bottom:1px solid var(--samuel-line);align-items:start;gap:32px}
.pdf-preview-header>div{max-width:670px}
.pdf-preview-header h3{font-size:1.42rem;letter-spacing:-.035em;margin-bottom:8px}
.pdf-preview-header p{color:#5e6e68;line-height:1.65}
.pdf-preview-header .btn{flex:0 0 auto;max-width:210px;font-size:.9rem;padding:11px 16px;background:transparent;border-color:#9baea4;color:#284d3e;box-shadow:none;border-radius:8px}
.pdf-preview-header .btn:hover{background:#e9eee6;color:#28463c;border-color:#819889}
.pdf-scroll-preview{height:700px;padding:28px 24px;background:#e3e6dc;border:1px solid #d2d9ce;border-radius:9px;gap:20px;scrollbar-color:#8fa092 #e0e6dc}
.pdf-scroll-preview img{max-width:620px;width:min(100%,620px);border-radius:2px;box-shadow:0 2px 12px rgba(38,47,39,.10)}
/* Présentation personnelle en citation sans carton. */
#qui-suis-je .section-title{margin-bottom:28px}
#qui-suis-je .info-card{margin:0 0 0 2px;max-width:870px;padding:11px 0 11px 26px;border:0;border-left:3px solid #668674;border-radius:0;background:transparent;box-shadow:none;text-align:left}
#qui-suis-je .info-card p{font-size:1.04rem;color:#37483f;line-height:1.8}
/* Étapes : frise numérotée, sans pavés surdimensionnés. */
#comment-ca-marche .section-title{margin-bottom:48px}
.steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:30px 16px;counter-reset:step}
.steps .card{grid-column:span 2;min-width:0;background:transparent;border:0;border-top:1px solid #aab7a8;border-radius:0;box-shadow:none;padding:25px 20px 18px 1px;position:relative}
.steps .card:nth-child(n+4){grid-column:span 3}
.steps .card::before{content:"";position:absolute;top:-3px;left:0;width:25px;height:4px;background:#3e6656}
.steps .card h3{font-size:1.11rem;letter-spacing:-.025em;color:#253c32;line-height:1.42;margin-bottom:12px}
.steps .card p{color:#526258;font-size:.98rem;line-height:1.77;max-width:34ch}
/* Avantages : une véritable liste éditoriale en colonnes. */
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 26px}
.features .feature{background:transparent;box-shadow:none;border:0;border-top:1px solid #b5c5ba;border-radius:0;padding:21px 12px 0 0}
.features .feature::before{content:"";display:block;width:26px;height:3px;background:#638572;margin:-23px 0 25px}
.features .feature h3{font-size:1.1rem;color:#294438;margin-bottom:11px;letter-spacing:-.02em}
.features .feature p{color:#51665c;line-height:1.73;font-size:.96rem}
/* L'offre est l'endroit où des cartes font réellement sens. */
.pricing{gap:16px;align-items:stretch}
.price-card{background:#fffdf7;border:1px solid #cfd9cb;border-radius:10px;box-shadow:none;padding:28px 26px;display:flex;flex-direction:column;min-width:0}
.price-card.featured{transform:none;border:1.5px solid #486d59;background:#f1f5ee}
.price-card .most-popular{background:transparent;color:#37614b;border:0;border-radius:0;padding:0;margin-bottom:12px;font-size:.77rem;letter-spacing:.09em;text-transform:uppercase}
.price-card .price{color:#25372f;font-size:1.83rem;letter-spacing:-.05em}
.price-card ul{margin-bottom:28px}
.price-card li{color:#53695e;line-height:1.58}
.price-card .btn{margin-top:auto;box-shadow:none;border-radius:8px}
.btn{box-shadow:none;border-radius:9px}
.btn:focus-visible,a:focus-visible{outline:3px solid #8aaa91;outline-offset:3px}
/* FAQ : huit questions scannables, une règle entre les réponses. */
.page-hero{padding:66px 0 51px}
.page-hero .section-title{margin:0;max-width:1100px}
.page-hero .back-home{margin-top:25px;background:transparent;border-color:#96a99c;color:#355845;box-shadow:none}
.page-hero .back-home:hover{background:#f1f4eb}
.page-hero+.section:not(.closing-cta){padding-top:39px;padding-bottom:92px}
.faq-grid{margin-top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:58px;row-gap:0}
.faq-grid .card{border:0;border-top:1px solid #bfcdbd;border-radius:0;background:transparent;box-shadow:none;padding:27px 6px 29px 0;min-width:0}
.faq-grid .card h3{font-size:1.1rem;color:#294337;letter-spacing:-.02em;margin-bottom:11px}
.faq-grid .card p{color:#576860;line-height:1.74;font-size:.97rem}
.faq-grid .faq-link{color:#246043;text-decoration:underline;text-underline-offset:3px}
/* Cartes PDF : trois petites notices, sans overlap. */
.example-card{margin-top:0;text-align:left;align-items:stretch;padding:28px 20px 30px 0;background:transparent;border:0;border-top:2px solid #8ca898;border-radius:0;box-shadow:none;display:flex;flex-direction:column;min-height:215px}
.example-card h3{font-size:1.16rem;color:#294339;line-height:1.4;margin-bottom:15px}
.example-card .price{font-size:1rem;letter-spacing:0;font-weight:650;color:#65786e;margin:0}
.example-card br{display:none}
.example-card .btn{margin-top:auto;align-self:flex-start;padding:11px 20px;border-radius:7px}
.page-hero+.section .pricing{gap:35px}
/* Les contacts verts de la version précédente restent inchangés dans leurs proportions. */
/* Harmonisation des éléments délicats sur petit écran. */
@media(max-width:950px){
 .steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 32px}
 .steps .card,.steps .card:nth-child(n+4){grid-column:auto}
 .features{grid-template-columns:repeat(2,minmax(0,1fr))}
 .faq-grid{column-gap:32px}
 .page-hero+.section .pricing{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
}
@media(max-width:768px){
 .section{padding:56px 0}
 .section-title{max-width:100%;margin-bottom:30px}
 .section-title h2{margin-top:15px;line-height:1.14}
 .section-title p{line-height:1.65}
 .pdf-preview-box{padding:0;border:0;box-shadow:none;background:transparent}
 .pdf-preview-header{display:block;text-align:left;margin-bottom:17px;padding-bottom:17px}
 .pdf-scroll-preview{height:480px;padding:14px;border-radius:7px;background:#e3e6dc;gap:14px}
 .pdf-scroll-preview img{width:100%;border-radius:2px}
 #qui-suis-je .info-card{padding:7px 0 7px 17px;border-radius:0}
 .steps{grid-template-columns:1fr;gap:0}
 .steps .card,.steps .card:nth-child(n+4){grid-column:auto;padding:20px 8px 22px 0;margin:0;border-top:1px solid #b6c5b4;border-radius:0;box-shadow:none;background:transparent}
 .steps .card h3{font-size:1.07rem;margin-bottom:8px}
 .steps .card p{max-width:none;font-size:.97rem}
 .features{grid-template-columns:1fr;gap:0}
 .features .feature{padding:23px 0 24px;box-shadow:none;background:transparent;border-radius:0;border:0;border-top:1px solid #bbccbf}
 .features .feature::before{margin:-25px 0 21px}
 .faq-grid{grid-template-columns:1fr;gap:0;margin-top:0}
 .faq-grid .card{padding:23px 0 25px;box-shadow:none;border-radius:0;background:transparent}
 .page-hero{padding:48px 0 37px}
 .page-hero+.section:not(.closing-cta){padding:28px 0 65px}
 .page-hero+.section .pricing{grid-template-columns:1fr;gap:0}
 .example-card{min-height:0;padding:22px 0 24px;box-shadow:none;border-radius:0;display:flex}
 .example-card .btn{width:auto;margin-top:17px}
 .price-card{border-radius:10px;box-shadow:none;padding:26px 24px}
 .price-card.featured{border-radius:10px}
 .pdf-mobile-actions .btn{width:100%}
}
@media(max-width:430px){
 .pdf-scroll-preview{height:410px;padding:9px}
 .section{padding:48px 0}
 .price-card{padding:24px 18px}
 .steps .card{padding-right:0}
}
@media(prefers-reduced-motion:reduce){.btn:hover,.student-header-button:hover{transform:none}}

/* Les en-têtes des sous-pages ont à la fois .container et .section-title :
   les centrer dans la même grille que le reste du site. */
.page-hero .container.section-title {
  width:min(1100px,calc(100% - 32px));
  max-width:1100px;
  margin:0 auto;
}

/* Navigation des sous-pages et de l'accueil réellement accessible sur téléphone :
   les cinq liens existants restent les mêmes, sans menu supplémentaire en JavaScript. */
@media(max-width:768px){
  .header:not(.site-header) .container.nav {row-gap:8px;}
  .header:not(.site-header) .nav > nav {
    display:flex;
    order:3;
    flex:0 0 100%;
    max-width:100%;
    min-width:0;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:19px;
    padding:12px 0 5px;
    overflow-x:auto;
    scrollbar-width:thin;
    scrollbar-color:#a2b5a4 transparent;
    border-top:1px solid #e3e7db;
    -webkit-overflow-scrolling:touch;
  }
  .header:not(.site-header) .nav > nav a {
    flex:0 0 auto;
    white-space:nowrap;
    font-size:.79rem;
    font-weight:650;
  }
  .page-hero .container.section-title{width:min(100% - 28px,1100px)}
}


/* Ajustements finaux — novembre 2026 */
.hero .hero-text .badge{display:none}
.pdf-scroll-preview{align-items:center}
.pdf-scroll-preview img{display:block;margin-inline:auto}

/* Le bleu reste réservé à l'identité de marque et au bouton Espace élève.
   Les autres accents passent sur la palette éditoriale. */
.btn{
  background:#2f5a47;
  border-color:#2f5a47;
  color:#fff;
}
.btn:hover{background:#254a3a;border-color:#254a3a;color:#fff}
.btn-outline{
  background:transparent;
  border-color:#93a79a;
  color:#2f5a47;
}
.btn-outline:hover{background:#eef2ea;border-color:#7f9688;color:#244536}
.pdf-mobile-actions .btn:last-child{background:transparent;color:#2f5a47;border-color:#93a79a}
.pdf-mobile-actions .btn:last-child:hover{background:#eef2ea;color:#244536;border-color:#7f9688}
.back-home,.faq-grid .faq-link,.text-link,.contact-mail{color:#2f5a47}

/* Les cartes et aperçus restent centrés visuellement. */
#exemples .pdf-preview-box,
#exemples .section-title,
#exemples .pdf-scroll-preview{margin-left:auto;margin-right:auto}
#exemples .pdf-preview-header{justify-content:space-between}

/* Quelques respirations plus sobres. */
.example-card .btn,
.price-card .btn{align-self:flex-start}
