/* Le Carnet du Plombier · landing (formato A: estructura del original, colores del carnet) */
:root {
  --nuit: #163A5F; --nuit-2: #0F2A46; --nuit-3: #24527F; --jaune: #F2B33D; --creme: #F7F3EC; --creme-2: #EFE8DC;
  --encre: #14283D; --gris: #4A5B6C; --vert: #00b042; --vert-ombre: #007a2e; --bleu: #2E86C1; --ligne: #E3DCCF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Nunito Sans', system-ui, sans-serif; color: var(--encre); background: var(--creme); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.env { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.etroit { max-width: 720px; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; }
h2 { font-size: clamp(32px, 6.4vw, 48px); margin-bottom: 14px; text-align: center; }
h2 em, h1 em { font-style: normal; color: var(--bleu); }
.sur { text-align: center; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #1D6A9E; margin-bottom: 8px; }
.intro { text-align: center; color: var(--gris); font-weight: 600; max-width: 640px; margin: 0 auto 22px; }
.fort { font-weight: 800; color: var(--encre); }
.sec { padding: 54px 0; }
.clair { background: #fff; }
.sombre { background: var(--nuit); color: #DCE8F3; }
.sombre h2 { color: #fff; } .sombre h2 em { color: var(--jaune); } .sombre .fort { color: #fff; }
.sombre p, .derriere p { margin-bottom: 14px; font-size: 17.5px; }

/* barra de oferta (igual a la propuesta A aprobada) */
.barre-offre { background: var(--jaune); color: var(--nuit); text-align: center; font-weight: 900; font-size: 13px; letter-spacing: .02em; padding: 9px 12px; }

/* botón */
.cta { display: block; max-width: 520px; margin: 22px auto 10px; background: var(--vert); color: #fff; text-decoration: none; text-align: center; font-weight: 900;
       font-size: 17px; letter-spacing: .02em; text-transform: uppercase; padding: 18px 16px; border-radius: 14px; box-shadow: 0 6px 0 var(--vert-ombre);
       transition: transform .12s ease, box-shadow .12s ease; }
.cta:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--vert-ombre); }
.cta:focus-visible, .barre-fixe a:focus-visible, summary:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.micro { text-align: center; font-size: 13.5px; color: var(--gris); }

/* inicio */
.hero { background: radial-gradient(120% 80% at 50% 0%, var(--nuit-3) 0%, var(--nuit) 55%, var(--nuit-2) 100%); color: #fff; text-align: center; padding: 22px 0 26px; }
.tabs { position: relative; height: 250px; max-width: 358px; margin: 6px auto 14px; }
.tab { position: absolute; top: 0; border-radius: 14px; background: #0b1826; padding: 7px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.tab img { display: block; width: 100%; border-radius: 8px; }
.tab.t1 { left: 4px; top: 34px; width: 128px; transform: rotate(-8deg); }
.tab.t3 { right: 4px; top: 34px; width: 128px; transform: rotate(8deg); }
.tab.t2 { left: 50%; margin-left: -82px; width: 164px; z-index: 2; }
@media (min-width: 761px) { .tabs { height: 360px; max-width: 520px; } .tab.t1, .tab.t3 { width: 184px; top: 48px; } .tab.t2 { width: 236px; margin-left: -118px; } }
.tabs-offre { margin-top: 10px; }
.serie { display: inline-block; border: 1.5px solid rgba(255,255,255,.5); border-radius: 30px; padding: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 12px auto 10px; max-width: 900px; }
.hero h1 em { color: var(--jaune); }
.hero .sous { font-size: 16px; color: #D6E4F0; font-weight: 600; max-width: 640px; margin: 0 auto; }
.hero .micro { color: #B9CCDD; font-size: 12px; }
.hero .cta { margin: 18px auto 8px; font-size: 16px; padding: 16px; border-radius: 12px; }

.chips { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding-top: 16px; padding-bottom: 6px; }
.chip { background: #fff; border-radius: 12px; padding: 10px 8px; text-align: center; box-shadow: 0 2px 8px rgba(20,40,61,.08); }
.chip b { display: block; font-family: 'Barlow Condensed'; font-weight: 900; font-size: 21px; color: var(--nuit); line-height: 1.15; }
.chip span { font-size: 12px; color: var(--gris); font-weight: 700; line-height: 1.3; display: block; }

/* carrusel */
.carrousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 16px; scrollbar-width: none; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel figure { flex: 0 0 76%; max-width: 330px; scroll-snap-align: center; }
.carrousel img { border-radius: 10px; box-shadow: 0 10px 26px rgba(20,40,61,.18); cursor: zoom-in; background: #fff; }
.carrousel figcaption { text-align: center; font-weight: 800; font-size: 14px; margin-top: 8px; color: var(--gris); }
.glisser { text-align: center; font-size: 13.5px; color: var(--gris); }

/* lo que vas a saber */
.savoir { list-style: none; display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.savoir li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; background: var(--creme); border-radius: 14px; padding: 14px 16px; }
.savoir span { font-size: 26px; text-align: center; }
.savoir p { font-weight: 600; }

/* por qué un dibujo */
.deux { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.deux > * { min-width: 0; }
.deux h2 { text-align: left; }
.deux p { margin-bottom: 12px; }
.page-ombre img { border-radius: 10px; box-shadow: 0 14px 34px rgba(20,40,61,.22); width: 100%; max-width: 420px; margin: 0 auto; cursor: zoom-in; }

/* antes / con el carnet */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; max-width: 760px; margin: 18px auto 0; }
.versus > div { border-radius: 14px; padding: 14px; }
.versus b { display: block; font-family: 'Barlow Condensed'; font-size: 22px; text-transform: uppercase; margin-bottom: 10px; text-align: center; }
.avant { background: #ECEAE6; color: #5B6570; }
.apres { background: #E3F2EA; }
.apres b { color: #10703A; }
.mur { background: #fff; border-radius: 8px; padding: 14px 12px; aspect-ratio: 900/1273; display: flex; flex-direction: column; gap: 9px; }
.mur i { display: block; height: 7px; border-radius: 4px; background: #D3D0CA; }
.mur i:nth-child(3n) { width: 82%; } .mur i:nth-child(4n) { width: 92%; }
.apres img { border-radius: 8px; cursor: zoom-in; }
.versus ul { list-style: none; margin-top: 12px; font-size: 14.5px; font-weight: 700; display: grid; gap: 6px; }
.avant li::before { content: "– "; }
.apres li::before { content: "✓ "; color: #10703A; font-weight: 900; }

/* sumario */
.parties { list-style: none; display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.parties li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; background: #fff; border-radius: 14px; padding: 16px; border-left: 6px solid var(--c); box-shadow: 0 4px 14px rgba(20,40,61,.06); }
.parties span { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 30px; color: var(--c); text-align: center; line-height: 1; padding-top: 2px; }
.parties b { font-family: 'Barlow Condensed'; font-size: 23px; text-transform: uppercase; display: block; line-height: 1.05; }
.parties small { display: block; font-weight: 800; color: var(--gris); font-size: 13px; margin: 2px 0 6px; }
.parties p { font-size: 15.5px; color: var(--gris); }
.planches { max-width: 760px; margin: 16px auto 0; background: #FFF4DB; border-radius: 14px; padding: 14px 16px; font-size: 15.5px; }

/* bonos */
.bonus { display: grid; gap: 16px; }
.bonus article { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: var(--creme); border-radius: 16px; padding: 16px; align-items: start; }
.bonus img { border-radius: 8px; box-shadow: 0 8px 20px rgba(20,40,61,.2); }
.bonus small { font-weight: 900; color: #1D6A9E; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.bonus h3 { font-size: 26px; margin: 4px 0 6px; }
.bonus p { font-size: 15.5px; color: var(--gris); }

/* oferta */
.offre { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%); color: #fff; text-align: center; }
.offre h2 { color: #fff; } .offre h2 em { color: var(--jaune); }
.pile { list-style: none; background: #fff; color: var(--encre); border-radius: 16px; padding: 6px 16px; text-align: left; border: 3px dashed var(--jaune); }
.pile li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); font-weight: 700; font-size: 15.5px; }
.pile li:last-child { border-bottom: 0; }
.pile b { white-space: nowrap; color: var(--gris); }
.valeur { margin-top: 18px; font-size: 18px; color: #C9D8E6; }
.auj { font-family: 'Barlow Condensed'; font-weight: 900; font-size: 30px; text-transform: uppercase; margin-top: 4px; }
.auj b { color: var(--jaune); font-size: 64px; display: block; line-height: 1; }
.eco { display: inline-block; background: var(--jaune); color: var(--nuit); font-weight: 900; border-radius: 30px; padding: 6px 16px; margin-top: 8px; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.offre .micro { color: #B9CCDD; }
.petit { font-size: 14px; color: #B9CCDD; max-width: 520px; margin: 10px auto 0; }

/* para quién */
.pour { display: grid; gap: 14px; }
.pour > div { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 4px 14px rgba(20,40,61,.06); }
.pour span { font-size: 30px; }
.pour h3 { font-size: 24px; margin: 6px 0 6px; }
.pour p { font-size: 15.5px; color: var(--gris); }

/* resumen y garantía */
.resume { list-style: none; display: grid; gap: 10px; }
.resume li { padding-left: 30px; position: relative; font-size: 16px; }
.resume li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #E3F2EA; color: #10703A; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.resume-prix { text-align: center; margin-top: 18px; font-family: 'Barlow Condensed'; font-size: 30px; font-weight: 900; }
.resume-prix s { color: var(--gris); font-size: 22px; margin-right: 8px; }
.resume-prix b { color: var(--nuit); font-size: 46px; }
.garantie { display: grid; grid-template-columns: 56px 1fr; gap: 14px; background: #E3F2EA; border-radius: 16px; padding: 18px; margin-top: 26px; }
.garantie span { font-size: 40px; }
.garantie h3 { font-size: 24px; margin-bottom: 6px; color: #10703A; }
.garantie p { font-size: 15.5px; }

/* FAQ */
details { background: var(--creme); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; padding: 15px 44px 15px 16px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 24px; color: var(--bleu); font-weight: 900; }
details[open] summary::after { content: "–"; }
details p { padding: 0 16px 16px; color: var(--gris); font-size: 15.5px; }

/* cierre */
.fin-liste { list-style: none; display: grid; gap: 6px; margin: 16px 0 4px; font-weight: 800; color: #fff; text-align: center; }
#fin .micro { color: #B9CCDD; }

footer { background: var(--nuit-2); color: #9FB3C6; font-size: 13px; padding: 26px 0 96px; text-align: center; }
footer p { margin-bottom: 6px; }

/* botón fijo en el celular */
.barre-fixe { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(15,42,70,.97);
              transform: translateY(110%); transition: transform .25s ease; }
.barre-fixe.on { transform: none; }
.barre-fixe a { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 14.5px; }
.barre-fixe b { color: var(--jaune); }
.barre-fixe i { font-style: normal; background: var(--vert); padding: 12px 18px; border-radius: 10px; text-transform: uppercase; font-weight: 900; box-shadow: 0 4px 0 var(--vert-ombre); white-space: nowrap; }

/* zoom de páginas */
.zoom-caja { position: fixed; inset: 0; background: rgba(10,14,18,.94); z-index: 50; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.zoom-caja[hidden] { display: none; }
.zoom-caja img { max-width: 96vw; max-height: 88vh; transform-origin: center; }
.zoom-cerrar { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; cursor: pointer; z-index: 2; }
.zoom-ayuda { position: absolute; bottom: 16px; color: #ddd; font-size: 13px; }

@media (min-width: 761px) {
  .chip b { font-size: 26px; } .chip span { font-size: 14px; }
  .carrousel { justify-content: flex-start; padding-left: max(18px, calc((100vw - 1080px) / 2 + 18px)); }
  .carrousel figure { flex-basis: 300px; }
  .deux { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; }
  .bonus { grid-template-columns: repeat(3, 1fr); }
  .bonus article { grid-template-columns: 1fr; text-align: center; }
  .bonus img { max-width: 220px; margin: 0 auto; }
  .pour { grid-template-columns: repeat(3, 1fr); }
  .sec { padding: 72px 0; }
  .barre-fixe { display: none; }
  footer { padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cta, .barre-fixe { transition: none; } }
