/* Accueil, tarifs, pages par intention. */
.section { padding: 64px 0; }
.section-sous { color: var(--text-muted); max-width: 640px; margin: -4px 0 28px; font-size: 17px; }

/* Héros */
.hero { padding: 56px 0 48px; background:
    linear-gradient(180deg, rgba(255,253,248,.0), rgba(255,253,248,.9)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(31,58,95,.045) 31px 32px); border-bottom: 1px solid var(--border); }
.hero-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.hero-sous { font-size: 18px; color: var(--text-muted); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-preuve { font-size: 14px; color: var(--text-muted); margin: 0; }

.hero-feuille { display: flex; justify-content: center; }
.feuille { position: relative; width: 100%; max-width: 420px; background: #fffdf8; border: 1px solid var(--border); border-radius: 4px; padding: 26px 26px 30px; box-shadow: var(--shadow-xl); transform: rotate(1.2deg); font-family: var(--font-serif); }
.feuille::before { content: ""; position: absolute; inset: 8px -8px -8px 8px; background: #f1ece1; border: 1px solid var(--border); border-radius: 4px; z-index: -1; transform: rotate(-2.4deg); }
.feuille-titre { text-align: center; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; margin-bottom: 14px; }
.feuille-sec { font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin: 14px 0 6px; }
.feuille-ligne { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 8px; border-bottom: 1px dotted var(--border); }
.feuille-ligne--faute { background: var(--error-bg); border-bottom-color: #e8b9ad; }
.feuille-ligne--faute b { color: var(--error); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.feuille-note { font-family: var(--font-sans); font-size: 13px; line-height: 1.45; margin: 10px 0 4px; padding: 10px 12px; border-left: 3px solid var(--accent); background: #fbf3ec; color: #5c2f18; }
.feuille-txt { font-size: 13px; color: var(--text-muted); margin: 0; }
.feuille-sceau { position: absolute; right: -14px; bottom: 22px; transform: rotate(-9deg); border: 2px solid var(--accent); color: var(--accent); font: 700 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border-radius: 4px; background: rgba(255,253,248,.92); }

/* Types de bail */
.types { background: var(--bg-white); border-bottom: 1px solid var(--border); }
.types-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.type { display: block; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); background: var(--bg); transition: border-color var(--transition-fast), transform var(--transition-fast); }
.type:hover { border-color: var(--primary-light); transform: translateY(-2px); color: var(--text); }
.type strong { display: block; font-family: var(--font-serif); font-size: 19px; margin-bottom: 4px; }
.type span { font-size: 14px; color: var(--text-muted); }

/* Contrôles */
.controles-grille { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: start; }
.coches { list-style: none; margin: 18px 0 0; padding: 0; }
.coches li { position: relative; padding: 0 0 14px 30px; }
.coches li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px #f7e2d6; }
.livre { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.livre ul { margin: 8px 0 14px; padding-left: 18px; }
.livre li { margin-bottom: 6px; }
.livre-suite { font-size: 14px; color: var(--text-muted); margin: 0; border-top: 1px solid var(--border); padding-top: 12px; }

/* Grille de prix */
.tarifs { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tarifs--page { background: transparent; border: 0; }
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.offre { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.offre--mise { background: #fff; border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.offre-nom { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 6px; }
.offre-prix { font-family: var(--font-serif); font-size: 34px; font-weight: 700; margin: 0 0 14px; color: var(--text); }
.offre-prix small { font: 400 15px var(--font-sans); color: var(--text-muted); }
.offre ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.offre li { padding: 6px 0 6px 22px; position: relative; font-size: 15px; border-bottom: 1px solid var(--border-light); }
.offre li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.offre-note { font-size: 13px; color: var(--text-muted); margin: 10px 0 0; text-align: center; }
.tarifs-details { margin: 40px auto 0; }

/* Pages par intention */
.seo-hero { padding: 40px 0 28px; border-bottom: 1px solid var(--border); background: var(--bg-white); }
.seo-hero h1 { max-width: 820px; }
.seo-lede { font-size: 18px; color: var(--text-muted); max-width: 720px; }
.seo-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.seo-maj { font-size: 13px; color: var(--text-light); margin-top: 14px; }
.seo-corps { padding: 36px 0 12px; }
.seo-corps h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.seo-corps h3 { margin-top: 1.3em; }
.seo-corps ul, .seo-corps ol { padding-left: 22px; }
.seo-corps li { margin-bottom: 6px; }
.seo-corps table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; background: var(--bg-white); }
.seo-corps th, .seo-corps td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.seo-corps th { background: var(--bg-muted); }
.table-scroll { overflow-x: auto; }
.encadre { background: var(--bg-white); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-md); padding: 16px 18px; margin: 18px 0; }
.encadre--alerte { border-left-color: var(--accent); background: #fcf5ef; }
.encadre p:last-child { margin-bottom: 0; }
.voisines { margin: 36px 0 0; padding: 18px 20px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.voisines h2 { font-size: 1.15rem; margin: 0 0 8px; }
.voisines ul { margin: 0; padding-left: 18px; }
.sources { font-size: 14px; color: var(--text-muted); }

@media (max-width: 960px) {
    .hero-grille, .controles-grille { grid-template-columns: 1fr; gap: 36px; }
    .feuille { transform: none; }
    .types-grille { grid-template-columns: 1fr 1fr; }
    .grille { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .section { padding: 44px 0; }
    .hero { padding: 32px 0 36px; }
    .hero-sous { font-size: 16px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .types-grille { grid-template-columns: 1fr 1fr; gap: 10px; }
    .type { padding: 12px 12px; }
    .type strong { font-size: 16px; }
    .type span { font-size: 12.5px; line-height: 1.35; display: block; }
    .livre { display: none; }
    .offre ul { margin-bottom: 14px; }
    .feuille-sceau { right: 6px; }
    .hero-feuille { display: none; }
}
