/* =========================================================
   Coque N’Roll — style.css V1.2
   ---------------------------------------------------------
   Objectif : fichier volontairement lisible et découpé.
   Modifier en priorité les variables ci-dessous pour changer
   couleurs, espacements, arrondis et largeur du site.
   ========================================================= */

/* 01. Variables globales */
:root {
  --blue: #1262ff;
  --blue-dark: #0a43c9;
  --navy: #07152f;
  --text: #152033;
  --muted: #61708a;
  --line: #e8edf6;
  --soft: #f6f9ff;
  --white: #ffffff;
  --yellow: #ffd84d;
  --orange: #ff8a2a;
  --pink: #ff3b9a;
  --cyan: #38d5ff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 8px 24px rgba(7, 21, 47, .08);
  --shadow: 0 20px 60px rgba(7, 21, 47, .14);
  --shadow-blue: 0 18px 42px rgba(18, 98, 255, .28);
  --container: 1180px;
}

/* 02. Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.container-narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 92px 0; }
.section-soft { background: var(--soft); }
.center { display: flex; justify-content: center; margin-top: 40px; }
.sr-only, .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* 03. Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 16px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn-secondary:hover { background: #eef5ff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-large { min-height: 58px; padding-inline: 28px; border-radius: 20px; }

/* 04. Header + navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(232, 237, 246, .9);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.brand-logo { width: auto; height: 60px; object-fit: contain; }
.brand-fallback { display: none; font-weight: 1000; color: var(--navy); }
.desktop-nav { display: flex; align-items: center; gap: 26px; color: #43506a; font-size: .92rem; font-weight: 800; }
.desktop-nav a { transition: color .18s ease; }
.desktop-nav a:hover { color: var(--blue); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-cta { min-height: 46px; font-size: .9rem; }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.menu-button span { width: 20px; height: 2px; margin: 3px auto; display: block; background: var(--blue); border-radius: 99px; }
.mobile-nav { display: none; }

/* 05. Logos réseaux sociaux */
.social-links { display: flex; align-items: center; gap: 9px; }
.social-links a, .mobile-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, color .18s ease, border-color .18s ease;
}
.social-links a { width: 38px; height: 38px; border-radius: 13px; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.social-links a:hover, .mobile-socials a:hover { transform: translateY(-2px); color: var(--blue); border-color: rgba(18, 98, 255, .35); }

/* 06. Hero */
.hero { min-height: calc(100vh - 78px); display: flex; align-items: center; overflow: hidden; padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 52px; }
.hero-content { position: relative; z-index: 5; }
.hero h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: .93; letter-spacing: -.07em; text-transform: uppercase; font-weight: 1000; }
.hero h1 span { display: block; color: var(--blue); }
.hero h1 strong { position: relative; display: inline-block; color: var(--navy); font-weight: 1000; }
.hero h1 strong::after { content: ""; position: absolute; left: 6px; right: 10px; bottom: 4px; height: 10px; z-index: -1; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.hero-text { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 1.17rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.chip { min-height: 90px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .88); box-shadow: var(--shadow-sm); }
.chip b { display: block; margin-bottom: 7px; color: var(--blue); font-size: 1.1rem; font-weight: 1000; }
.chip small { display: block; color: var(--navy); font-size: .82rem; font-weight: 850; line-height: 1.25; }

/* 07. Machine + visuels */
.hero-visual { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.machine-card { position: relative; width: min(100%, 560px); min-height: 560px; display: flex; align-items: center; justify-content: center; border-radius: 44px; background: radial-gradient(circle at 50% 45%, rgba(56, 213, 255, .28), transparent 45%), linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(236, 247, 255, .72)); box-shadow: var(--shadow); }
.machine-card::before { content: ""; position: absolute; inset: 28px; border-radius: 38px; background: radial-gradient(circle at 20% 25%, rgba(255, 216, 77, .7), transparent 25%), radial-gradient(circle at 78% 28%, rgba(255, 59, 154, .55), transparent 27%), radial-gradient(circle at 52% 76%, rgba(18, 98, 255, .35), transparent 34%); filter: blur(22px); opacity: .88; }
.machine-img { position: relative; z-index: 2; max-height: 540px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 34px rgba(7, 21, 47, .22)); }
.machine-fallback { position: absolute; inset: 56px; z-index: 1; display: none; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed rgba(18, 98, 255, .35); border-radius: 32px; color: var(--blue); text-align: center; background: rgba(255, 255, 255, .68); }
.machine-img.is-missing + .machine-fallback { display: flex; }
.machine-fallback strong { font-size: 1.8rem; font-weight: 1000; }
.machine-fallback small { margin-top: 8px; color: var(--muted); font-weight: 800; }
.floating-case { position: absolute; z-index: 6; width: 98px; height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 6px solid var(--navy); border-radius: 30px; background: linear-gradient(145deg, #fff, #ebf6ff 60%, #fff4bf); box-shadow: var(--shadow); animation: float 4.6s ease-in-out infinite; }
.floating-case span { font-size: 2rem; }
.floating-case b { color: var(--navy); font-size: .72rem; font-weight: 1000; text-transform: uppercase; }
.case-a { top: 70px; left: 20px; transform: rotate(-10deg); }
.case-b { bottom: 72px; left: 12px; transform: rotate(8deg); animation-delay: .8s; }
.case-c { right: 0; top: 170px; transform: rotate(12deg); animation-delay: 1.2s; }
.paint { position: absolute; pointer-events: none; border-radius: 999px; background: radial-gradient(circle at 30% 30%, rgba(255, 216, 77, .82), transparent 28%), radial-gradient(circle at 68% 35%, rgba(255, 59, 154, .54), transparent 30%), radial-gradient(circle at 50% 72%, rgba(18, 98, 255, .42), transparent 35%), radial-gradient(circle at 25% 75%, rgba(56, 213, 255, .46), transparent 26%); filter: blur(26px); opacity: .65; }
.paint-one { right: -180px; top: 110px; width: 540px; height: 540px; }
.paint-two { left: -240px; top: 430px; width: 420px; height: 420px; opacity: .28; }
.paint-three { left: -180px; top: 90px; width: 430px; height: 430px; opacity: .36; }

/* 08. Barre bénéfices */
.benefit-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit-grid article { display: flex; gap: 16px; align-items: center; padding: 22px; border-right: 1px solid var(--line); }
.benefit-grid article:last-child { border-right: 0; }
.benefit-grid span { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 18px; background: #eef5ff; font-size: 1.5rem; }
.benefit-grid h3 { margin: 0; color: var(--navy); font-size: .92rem; font-weight: 1000; text-transform: uppercase; }
.benefit-grid p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

/* 09. Titres de sections */
.section-heading { max-width: 760px; margin: 0 auto; text-align: center; }
.section-heading h2, .distributor-content h2, .location-content h2, .pro-card h2, .contact-content h2, .page-hero h1, .legal-card h1 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: -.05em; text-transform: uppercase; font-weight: 1000; }
.section-heading p:not(.eyebrow), .distributor-content > p, .location-content > p, .pro-card p, .contact-content p, .page-hero p, .legal-card p { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }

/* 10. Comment ça marche */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.step-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 1000; }
.step-icon { font-size: 2.4rem; }
.step-card h3 { margin: 0; color: var(--navy); font-size: 1.25rem; font-weight: 1000; }
.step-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.65; }

/* 11. Styles de coques */
.styles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.style-card { text-align: center; }
.case-frame { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #edf6ff, #fff 58%, #fff1bd); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.style-card:hover .case-frame { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-frame img { position: relative; z-index: 2; max-width: 84%; max-height: 92%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(7, 21, 47, .14)); }
.case-frame span { position: absolute; inset: 18px; z-index: 1; display: none; align-items: center; justify-content: center; border: 2px dashed rgba(18, 98, 255, .26); border-radius: 28px; color: var(--blue); font-size: 2.4rem; font-weight: 1000; background: rgba(255, 255, 255, .5); }
.case-frame img.is-missing + span { display: flex; }
.style-card h3 { margin: 14px 0 0; color: var(--navy); font-size: 1rem; font-weight: 1000; }

/* 12. Section distributeur orientée client */
.distributor-section { overflow: hidden; }
.distributor-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 62px; }
.machine-card-small { min-height: 480px; width: 100%; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.feature-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.feature-grid-customer article span { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 16px; background: #eef5ff; font-size: 1.35rem; }
.feature-grid h3 { margin: 0; color: var(--navy); font-weight: 1000; }
.feature-grid p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* 13. Localisation + carte */
.location-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: stretch; }
.location-card, .map-card { border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.location-card { margin-top: 28px; padding: 28px; }
.status-pill { display: inline-flex; margin-bottom: 18px; padding: 8px 12px; border-radius: 999px; background: #fff4bf; color: var(--navy); font-size: .78rem; font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; }
.location-card h3 { margin: 0 0 16px; color: var(--navy); font-size: 1.35rem; }
.location-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); }
.location-list strong { color: var(--navy); }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map-card { min-height: 490px; display: grid; grid-template-rows: 1fr auto; }
.map-card iframe { width: 100%; height: 100%; min-height: 390px; border: 0; }
.map-note { display: grid; gap: 3px; padding: 18px 22px; background: var(--navy); color: #fff; }
.map-note span { color: rgba(255,255,255,.72); }

/* 14. Section pro */
.pro-section { padding: 0 0 92px; }
.pro-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 48px; border-radius: 38px; background: radial-gradient(circle at 85% 10%, rgba(56, 213, 255, .22), transparent 32%), radial-gradient(circle at 95% 80%, rgba(255, 216, 77, .16), transparent 25%), var(--navy); color: #fff; box-shadow: var(--shadow); }
.pro-card .eyebrow { color: #9cc3ff; }
.pro-card h2 { color: #fff; }
.pro-card p { max-width: 790px; color: rgba(255, 255, 255, .72); }

/* 15. Contact */
.page-hero { text-align: center; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.contact-note { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.contact-note p { margin: 8px 0 0; font-size: .95rem; }
.contact-note code { color: var(--blue-dark); font-weight: 900; }
.contact-form { display: grid; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: var(--shadow-sm); }
.contact-form label { color: var(--navy); font-weight: 1000; }
.contact-form label span { color: var(--muted); font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; color: var(--text); outline: none; transition: border .18s ease, box-shadow .18s ease; }
.contact-form textarea { min-height: 150px; padding-top: 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 98, 255, .12); }
.contact-form small { color: var(--muted); font-weight: 800; }

/* 16. FAQ */
.faq-list { display: grid; gap: 14px; margin-top: 42px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 58px 22px 24px; color: var(--navy); font-weight: 1000; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 18px; color: var(--blue); font-size: 1.8rem; line-height: 1; transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 24px 22px; color: var(--muted); line-height: 1.7; }
.faq-list a { color: var(--blue); font-weight: 900; }

/* 17. Pages légales */
.legal-page { background: var(--soft); }
.legal-card { padding: 42px; border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: var(--shadow-sm); }
.legal-card h2 { margin: 34px 0 8px; color: var(--navy); font-size: 1.25rem; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* 18. Footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 36px 0; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 150px; height: 54px; object-fit: contain; }
.footer-brand p { margin: 0; color: var(--navy); font-size: .9rem; font-weight: 1000; text-transform: uppercase; line-height: 1.3; }
.footer-brand span { color: var(--blue); }
.footer-right { display: grid; justify-items: end; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; color: var(--muted); font-size: .9rem; font-weight: 800; }
.footer-links a:hover { color: var(--blue); }

/* 19. Animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* 20. Responsive tablette */
@media (max-width: 1120px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: inline-block; }
  .mobile-nav { display: grid; position: fixed; top: 78px; left: 0; right: 0; z-index: 49; padding: 18px 20px 24px; gap: 6px; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
  body.menu-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 950; }
  .mobile-socials { display: flex; gap: 10px; padding: 12px 0; }
  .mobile-socials a { min-height: 42px; padding: 0 14px; border-radius: 14px; gap: 8px; font-weight: 900; }
  .mobile-socials svg { width: 17px; height: 17px; fill: currentColor; }
  .hero-grid, .distributor-grid, .location-grid, .contact-grid, .pro-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero-content { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-chips { max-width: 640px; margin-inline: auto; }
  .hero-visual { min-height: 480px; }
  .machine-card { min-height: 480px; }
  .machine-img { max-height: 460px; }
  .benefit-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-right { justify-items: start; }
}

/* 21. Responsive mobile */
@media (max-width: 680px) {
  .container, .container-narrow { width: min(100% - 28px, var(--container)); }
  .section { padding: 70px 0; }
  .header-inner { height: 70px; }
  .mobile-nav { top: 70px; }
  .brand-logo { width: 132px }
  .social-links-header { display: none; }
  .hero { padding-top: 40px; overflow-x: hidden; overflow-y: visible; }
  .hero h1 { font-size: clamp(2rem, 10.5vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
  .hero-actions { flex-direction: column; }
  .btn-large, .hero-actions .btn, .location-actions .btn, .pro-card .btn { width: 100%; }
  .hero-chips { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 410px; }
  .machine-card { min-height: 410px; border-radius: 32px; }
  .machine-img { max-height: 390px; }
  .floating-case { display: none; }
  .benefit-grid, .steps-grid, .styles-grid, .feature-grid { grid-template-columns: 1fr; }
  .benefit-grid article { padding-inline: 0; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading h2, .distributor-content h2, .location-content h2, .pro-card h2, .contact-content h2, .page-hero h1, .legal-card h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .location-card, .contact-form, .legal-card, .pro-card { padding: 28px; border-radius: 28px; }
  .map-card { min-height: 420px; }
  .map-card iframe { min-height: 320px; }
  .footer-inner, .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 12px; justify-content: flex-start; }
}



/* 24. Page newsletter */
.newsletter-page-hero {
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.newsletter-page-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .86fr;
  align-items: center;
  gap: 54px;
}

.newsletter-page-content h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.06em;
  text-transform: uppercase;
  font-weight: 1000;
}

.newsletter-page-content p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.78;
}

.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.newsletter-benefits li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}

.newsletter-benefits strong {
  display: block;
  color: var(--blue-dark);
  font-weight: 1000;
  text-transform: uppercase;
  font-size: .9rem;
}

.newsletter-benefits span {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.35;
}

.newsletter-page-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(232, 237, 246, .95);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 8%, rgba(56, 213, 255, .20), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(255, 216, 77, .24), transparent 28%),
    #fff;
  box-shadow: var(--shadow);
}

.newsletter-page-card h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-weight: 1000;
}

.newsletter-page-card p {
  color: var(--muted);
  line-height: 1.65;
}

.newsletter-page-form {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.newsletter-page-form > label:not(.newsletter-page-rgpd) {
  color: var(--navy);
  font-weight: 1000;
}

.newsletter-page-form input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border .18s ease, box-shadow .18s ease;
}

.newsletter-page-form input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 98, 255, .12);
}

.newsletter-page-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.45;
}

.newsletter-page-rgpd input {
  margin-top: 3px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.newsletter-page-success {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #e9fff1;
  color: #137b3a !important;
  font-weight: 950;
}

.newsletter-page-small {
  margin-top: 16px;
  font-size: .82rem;
  color: #7b8798 !important;
}

@media (max-width: 1120px) {
  .newsletter-page-grid { grid-template-columns: 1fr; }
  .newsletter-page-content { text-align: center; }
  .newsletter-page-content p:not(.eyebrow) { margin-inline: auto; }
}

@media (max-width: 680px) {
  .newsletter-page-hero { min-height: auto; }
  .newsletter-benefits { grid-template-columns: 1fr; }
  .newsletter-page-card { padding: 26px; border-radius: 28px; }
}

/* 22. Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* 23. Popup newsletter — bons plans, promos et nouveautés */
.newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(7, 21, 47, .68);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.newsletter-popup-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.newsletter-popup-open {
  overflow: hidden;
}

.newsletter-popup {
  position: relative;
  width: min(100%, 470px);
  overflow: hidden;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 216, 77, .34), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(255, 59, 154, .26), transparent 30%),
    radial-gradient(circle at 80% 92%, rgba(56, 213, 255, .22), transparent 32%),
    var(--navy);
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
  transform: translateY(18px) scale(.97);
  transition: transform .22s ease;
  isolation: isolate;
}

.newsletter-popup-overlay.is-active .newsletter-popup {
  transform: translateY(0) scale(1);
}

.newsletter-popup::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 78%, rgba(18, 98, 255, .34), transparent 26%),
    radial-gradient(circle at 64% 16%, rgba(255, 138, 42, .28), transparent 24%);
  filter: blur(12px);
  opacity: .9;
}

.newsletter-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .82);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.newsletter-popup-close:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .16);
}

.newsletter-popup-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #9cc3ff;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.newsletter-popup h2 {
  max-width: 390px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 1000;
}

.newsletter-popup-text {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, .74);
  font-size: 1rem;
  line-height: 1.6;
}

.newsletter-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 13px;
}

.newsletter-popup-row {
  display: flex;
  gap: 10px;
}

.newsletter-popup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 17px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  outline: none;
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}

.newsletter-popup-form input::placeholder {
  color: rgba(255, 255, 255, .48);
}

.newsletter-popup-form input:focus {
  border-color: rgba(56, 213, 255, .72);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 4px rgba(56, 213, 255, .14);
}

.newsletter-popup-form button {
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 17px;
  background: var(--blue);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(18, 98, 255, .32);
  transition: transform .18s ease, background .18s ease;
}

.newsletter-popup-form button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.newsletter-popup-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}

.newsletter-popup-rgpd input {
  margin-top: 3px;
  accent-color: var(--yellow);
  flex: 0 0 auto;
}

.newsletter-popup-success {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(74, 222, 128, .28);
  border-radius: 18px;
  background: rgba(74, 222, 128, .12);
  color: #bbf7d0;
  font-weight: 900;
}

.newsletter-popup-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: .78rem;
  font-weight: 800;
}

@media (max-width: 680px) {
  .newsletter-popup-overlay {
    align-items: flex-end;
    padding: 14px;
  }

  .newsletter-popup {
    width: 100%;
    padding: 30px 20px 22px;
    border-radius: 28px;
  }

  .newsletter-popup h2 {
    max-width: 310px;
  }

  .newsletter-popup-row {
    flex-direction: column;
  }

  .newsletter-popup-form button {
    width: 100%;
  }
}


/* 23. Messages formulaires */
.form-status,
.newsletter-popup-error,
.newsletter-page-error,
.newsletter-popup-success,
.newsletter-page-success {
  font-weight: 900;
  line-height: 1.45;
}
.form-status {
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: 16px;
}
.form-status-success { color: #166534; background: #dcfce7; border: 1px solid #bbf7d0; }
.form-status-error { color: #991b1b; background: #fee2e2; border: 1px solid #fecaca; }
.newsletter-popup-error,
.newsletter-page-error { color: #991b1b; }
