:root { --vert: #173b2b; --vert-clair: #2e5740; --or: #c9a84c; --or-clair: #e3c679; --ink: #213d2e; --beige: #f6f3ec; --line: #e0e4d8; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Figtree', sans-serif; color: var(--ink); line-height: 1.65; background: #fff; }
h1, h2, h3, h4, h6, p, figure, ul { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 4px; }
.refonte-container { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.skip-link { position: absolute; top: -100px; left: 10px; z-index: 90; padding: 10px; background: #fff; }
.skip-link:focus { top: 10px; }
.refonte-topbar { background: var(--vert); color: #f5f4e8; font-size: .76rem; }
.refonte-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.refonte-topbar-inner > div { display: flex; gap: 24px; }
.refonte-topbar a { text-decoration: none; font-weight: 700; }
.refonte-topbar span { color: #c5d2bf; }
.refonte-nav { position: sticky; top: 0; z-index: 25; background: #fff; border-bottom: 1px solid #ebeee6; }
.refonte-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 26px; }
.refonte-brand img { display: block; width: 92px; height: 67px; object-fit: contain; }
.refonte-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; font-size: .87rem; font-weight: 600; }
.refonte-nav-links a { text-decoration: none; }
.refonte-nav-links a:hover, .refonte-nav-links a[aria-current] { color: #7d722c; }
.refonte-nav-links a[aria-current] { border-bottom: 2px solid var(--or); padding-bottom: 7px; }
.refonte-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 20px; border-radius: 7px; background: var(--or); border: 1px solid var(--or); color: #173b2b; text-decoration: none; font-weight: 800; font-size: .85rem; line-height: 1.4; text-align: center; cursor: pointer; }
.refonte-button:hover { background: #dfc270; }
.refonte-button:active, .btn-submit:active { transform: scale(.98); }
#formules, #protection { scroll-margin-top: 110px; }
.refonte-hero { background: radial-gradient(ellipse at 80% 20%, #30543b 0%, #173b2b 75%); color: #fff; padding: 52px 0; }
.refonte-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 64px; }
.hero-eyebrow h1 { color: var(--or-clair); font-size: .8rem; font-weight: 700; letter-spacing: .09em; line-height: 1.5; margin-bottom: 22px; text-transform: uppercase; }
.hero-heading h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 700; line-height: 1.17; letter-spacing: -.04em; max-width: 600px; }
.hero-description { margin-top: 25px; font-size: .94rem; color: #e0e8da; }
.hero-description strong { color: #fff; font-weight: 650; }
.hero-image { position: relative; background: #2e503a; padding: 10px; border: 1px solid #bfa963; border-radius: 24px 24px 8px 24px; box-shadow: 0 24px 46px #0b251f30; }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 15px 15px 3px 15px; }
.refonte-intro { padding: 64px 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 80px; align-items: start; margin-bottom: 44px; }
.section-heading h2, .section-heading h3 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.65rem, 2.5vw, 2.2rem); font-weight: 650; line-height: 1.3; letter-spacing: -.025em; }
.editorial-copy { color: #596451; font-size: .95rem; }
.editorial-copy p + p { margin-top: 16px; }
.editorial-copy strong { color: #244532; font-weight: 700; }
.intro-button { margin-top: 24px; }
.formulas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.formula-card { display: flex; flex-direction: column; padding: 25px 22px 22px; border: 1px solid #dce3d2; border-radius: 12px; background: #f9fbf5; border-top: 4px solid #90a371; }
.formula-card:nth-child(2) { border-top-color: #758758; }
.formula-card:nth-child(3) { border-top-color: #466647; }
.formula-card:nth-child(4) { border-top-color: var(--or); background: #fbf9ef; }
.formula-title h3 { font-family: 'Montserrat', sans-serif; font-size: 1.13rem; font-weight: 700; line-height: 1.3; }
.formula-subtitle { margin-top: 12px; min-height: 65px; color: #66745b; font-size: .83rem; line-height: 1.5; }
.formula-subtitle p { font-size: inherit; }
.formula-list { margin-top: 21px; font-size: .81rem; color: #52604a; }
.formula-list ul { list-style: none; padding: 0; }
.formula-list li { display: flex; gap: 9px; align-items: flex-start; padding-bottom: 12px; line-height: 1.5; }
.formula-list li::before { content: '✓'; color: #768b52; font-weight: 800; flex: 0 0 12px; }
.formula-list li > span:empty { display: none; }
.formula-list b { font-weight: 700; color: #294433; }
.formula-bottom { margin-top: auto; padding-top: 18px; }
.formula-price { padding: 14px 0 20px; border-top: 1px solid #dee5d3; color: #546745; font-size: .78rem; line-height: 1.5; }
.formula-price p { margin: 0; }
.formula-card .refonte-button { width: 100%; min-height: 50px; padding: 10px 8px; font-size: .78rem; background: var(--vert); color: #fff; border-color: var(--vert); }
.formula-card .refonte-button:hover { background: var(--vert-clair); }
.formula-card:last-child .refonte-button { color: var(--vert); background: var(--or-clair); border-color: var(--or-clair); }
.refonte-protection { padding: 70px 0; background: var(--beige); }
.protection-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.protection-image { border-radius: 18px; overflow: hidden; border: 1px solid #d1ceaf; background: #e8e6da; }
.protection-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.refonte-protection .editorial-copy { margin-top: 22px; }
.protection-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.protection-actions .refonte-button { font-size: .78rem; min-height: 45px; }
.refonte-factors { padding: 64px 0; }
.factors-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: 70px; align-items: end; margin-bottom: 30px; }
.factors-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.factor { padding-top: 22px; border-top: 2px solid #c9d4b7; }
.factor h4 { font-family: 'Montserrat', sans-serif; font-size: .93rem; line-height: 1.4; font-weight: 700; margin-bottom: 10px; }
.factor p { font-size: .88rem; color: #66745b; }
.refonte-closing { padding: 56px 0; background: #edf2e4; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 80px; }
.refonte-closing .editorial-copy { margin-top: 18px; }
.closing-button { margin-top: 23px; }
.source-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.source-highlight { font-size: .86rem; color: #536443; padding: 19px 0; border-top: 1px solid #cfdabf; }
.refonte-footer { background: var(--vert); color: #cbd6c3; padding: 38px 0 22px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: 130px; font-size: .83rem; }
.footer-grid img { display: block; width: 92px; height: 67px; object-fit: contain; background: #fff; border-radius: 6px; padding: 5px; margin-bottom: 16px; }
.footer-grid h6 { color: #fff; font-size: .92rem; font-weight: 800; margin-bottom: 10px; }
.footer-grid p { max-width: 570px; }
.footer-bottom { border-top: 1px solid #456347; margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; font-size: .7rem; }
.footer-bottom > div { display: flex; gap: 18px; }
.footer-bottom a { color: #dae4d0; }
.mobile-cta-bar { display: none; }
dialog { border: 1px solid #dfe4d5; border-radius: 15px; width: min(500px, calc(100% - 30px)); padding: 0; color: var(--ink); max-height: calc(100dvh - 60px); box-shadow: 0 25px 90px #122b2533; }
dialog::backdrop { background: #112d23b3; }
.modal-inner { position: relative; padding: 34px 28px 30px; }
.modal-close { position: absolute; right: 8px; top: 6px; background: transparent; border: 0; width: 40px; height: 40px; font-size: 1.8rem; cursor: pointer; color: #2a4530; }
.modal-inner h2 { font-family: 'Montserrat', sans-serif; font-size: 1.35rem; line-height: 1.35; font-weight: 700; padding-right: 18px; margin-bottom: 24px; }
#selected-formula { margin-top: -13px; margin-bottom: 16px; padding: 6px 10px; background: #f2eddc; color: #6d702b; border-radius: 5px; font-weight: 700; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-group { margin-bottom: 17px; min-width: 0; }
.form-group label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; min-height: 47px; font-size: .94rem; border: 1px solid #d1d9c7; border-radius: 6px; background: #fbfcf8; color: var(--ink); padding: 10px 12px; }
.form-group textarea { resize: vertical; }
.btn-submit { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 49px; border-radius: 7px; background: var(--vert); color: #fff; border: 0; font-weight: 800; font-size: .9rem; cursor: pointer; padding: 12px; }
.btn-submit:disabled { cursor: wait; opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .refonte-button, .btn-submit { transition: background 160ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 1150px) {
  .refonte-nav-links { gap: 16px; font-size: .82rem; }
  .refonte-nav-inner { gap: 18px; }
  .refonte-hero-grid { gap: 32px; }
  .hero-heading h2 { font-size: 2.4rem; }
  .formulas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .formula-card { padding: 28px; }
  .formula-list { font-size: .88rem; }
  .formula-subtitle { min-height: auto; }
  .intro-grid, .protection-grid, .closing-grid { gap: 40px; }
  .protection-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); }
  .footer-grid { gap: 70px; }
}
@media (max-width: 800px) {
  .refonte-container { width: calc(100% - 40px); }
  .refonte-nav-links { display: none; }
  .refonte-nav-inner { min-height: 74px; }
  .refonte-brand img { width: 77px; height: 56px; }
  .nav-cta { font-size: .8rem; min-height: 43px; }
  .refonte-hero { padding: 34px 0; }
  .refonte-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-heading h2 { font-size: clamp(2rem, 5.7vw, 2.6rem); }
  .hero-eyebrow h1 { margin-bottom: 16px; }
  .hero-description { font-size: .93rem; margin-top: 20px; }
  .hero-image { max-width: 600px; }
  .intro-grid, .protection-grid, .factors-intro, .closing-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .refonte-intro, .refonte-protection, .refonte-factors, .refonte-closing { padding: 40px 0; }
  .section-heading h2, .section-heading h3 { font-size: 1.75rem; }
  .intro-grid { margin-bottom: 30px; }
  .protection-image { max-width: 570px; }
  .factors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-grid { gap: 35px; }
}
@media (max-width: 560px) {
  .refonte-topbar-inner { gap: 10px; font-size: .68rem; }
  .refonte-topbar-inner > div { gap: 15px; }
  .refonte-topbar span { display: none; }
  .refonte-nav-inner { gap: 10px; }
  .refonte-nav-inner .nav-cta { padding: 10px 14px; }
  .formulas-grid, .factors-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .formula-card { padding: 23px; }
  .formula-list { font-size: .91rem; }
  .formula-title h3 { font-size: 1.28rem; }
  .formula-subtitle { font-size: .9rem; }
  .formula-card .refonte-button { font-size: .85rem; }
  .formula-price { font-size: .86rem; }
  .source-highlights { gap: 0 18px; }
  .source-highlight { font-size: .82rem; }
  .protection-actions { flex-direction: column; }
  .protection-actions .refonte-button { width: 100%; }
  .refonte-footer { padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; gap: 10px; background: #fff; border-top: 1px solid #d2dbc5; box-shadow: 0 -4px 18px #253a2112; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta-bar a { display: flex; flex: 1; justify-content: center; align-items: center; min-height: 45px; text-decoration: none; font-size: .78rem; font-weight: 800; border-radius: 7px; padding: 8px; }
  .btn-call { color: var(--vert); border: 1px solid #acbb91; }
  .btn-devis-mobile { color: #fff; background: var(--vert); }
  .modal-inner { padding: 34px 20px 25px; }
  .modal-inner h2 { font-size: 1.2rem; }
  .form-group input, .form-group textarea { font-size: 16px; }
}

@media (max-width: 800px) {
  .refonte-nav-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; padding-top: 10px; }
  .refonte-brand { grid-column: 1; grid-row: 1; }
  .nav-cta { grid-column: 2; grid-row: 1; }
  .refonte-nav-links { display: flex; grid-column: 1 / -1; grid-row: 2; overflow-x: auto; min-width: 0; max-width: 100%; padding: 12px 0 14px; gap: 23px; font-size: .75rem; scrollbar-width: thin; }
  .refonte-nav-links li { flex: 0 0 auto; }
  .refonte-nav-links a[aria-current] { padding-bottom: 4px; }
  #formules, #protection { scroll-margin-top: 140px; }
}

.closing-grid { column-gap: 80px; row-gap: 0; }
.closing-grid > .closing-button { grid-column: 1; margin-top: 23px; }
@media (max-width: 800px) {
  .closing-grid { gap: 24px; }
  .closing-grid > .closing-button { margin-top: 0; }
}
