:root{
  --primary:#1D2B4F;           
  --primary-dark:#15203b;      
  --secondary:#F4F5FA;         
  --accent:#D98C2F;            
  --text-heading:#1D2B4F;      
  --text-body:#1d2e3f;         
  --text-muted:#5b6b7a;        
  --surface:#ffffff;           
  --border-color:#d8d2c5;      
}

*{margin:0;box-sizing:border-box;padding:0}

html{scroll-behavior:smooth}

body{
  font-family:Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  overflow-x:hidden;
  line-height:1.65;
  color:var(--text-body);
  background-color:var(--secondary)
}

h1,h2,h3,h4,h5,h6{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight:600;
  line-height:1.2;
  color:var(--text-heading)
}

a{text-decoration:none;color:inherit;transition:color .3s ease}

.container{margin:0 auto;padding:0 1.5rem;max-width:1200px;width:100%}

.text-accent{color:var(--accent)}
.text-primary{color:var(--primary)}

.section-header{margin-bottom:3rem;text-align:center}
.section-title{margin-bottom:.75rem;color:var(--text-heading);font-size:2.25rem}
.section-description{margin:0 auto;color:var(--text-muted);max-width:700px}
.section-divider{margin:2rem auto;border:none;border-top:1px solid var(--border-color);width:100%}

.header{box-shadow:0 4px 12px rgba(0,0,0,.05);z-index:50;position:sticky;top:0;background-color:var(--surface)}
.header-content{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;gap:1rem}
.logo-text{font-family:Inter,sans-serif;font-weight:700;color:var(--primary);font-size:1.25rem;letter-spacing:.2px;white-space:nowrap}
.logo{display:flex;align-items:center;gap:.6rem}
.logo-mark{height:28px;width:auto;display:block}
/* Hide country suffix in header logo text to avoid overlap */
header .logo-text .text-primary{display:none}

.desktop-nav{display:none}
.nav-link{margin-left:1.25rem;color:var(--text-heading);transition:color .2s}
.nav-link:hover{color:var(--primary)}

/* Header layout: logo left, nav center, small right link */
.header-content{gap:1.25rem}
.header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.header-right{display:flex;justify-content:flex-end}
.header-right .rg-link{font-size:.9rem;color:var(--primary)}

.mobile-menu-button button{border:1px solid var(--border-color);border-radius:.5rem;color:var(--text-heading);cursor:pointer;font-size:1.25rem;background-color:var(--surface);padding:.35rem .6rem}
.mobile-nav{display:none;padding:1rem 0;flex-direction:column}
.mobile-nav .nav-link{margin-left:0;padding:.5rem 0}
.mobile-nav.active{display:flex}

/* Hero */
.hero-banner{background-image:linear-gradient(90deg,var(--primary) 0%, var(--primary-dark) 100%);overflow:hidden;position:relative;padding:4rem 0}
.hero-overlay{display:none}
.hero-content{margin:0 auto;z-index:10;position:relative;max-width:1100px;display:flex;flex-direction:column;gap:1.25rem}
.hero-title{margin-bottom:.25rem;line-height:1.15;color:#fff;font-size:2.4rem}
.hero-title span{display:block}
.hero-description{margin-bottom:.5rem;color:#e9f1ff;font-size:1.0625rem;max-width:720px}
.hero-actions{display:flex;justify-content:flex-start}
.hero-button{
  font-weight:700;
  border-radius:9999px;
  box-shadow:0 6px 14px rgba(0,0,0,.15);
  display:inline-block;
  color:#0e1b22;
  padding:.75rem 1.5rem;
  transition:transform .25s ease, background-color .25s ease;
  background-color:var(--accent)
}
.hero-button:hover{transform:translateY(-2px);background-color:#cf7d2b}

.hero-bullets{margin-top:.5rem;color:#e9f1ff;list-style:disc;padding-left:1.25rem}
.hero-bullets li{margin:.25rem 0}

.age-badge{border-radius:9999px;right:1.25rem;display:flex;z-index:10;align-items:center;position:absolute;padding:.25rem .75rem;bottom:1.25rem;background-color:rgba(255,255,255,.15)}
.age-number{font-weight:700;color:#fff;margin-right:.5rem}
.age-text{color:#e6f0ff;font-size:.875rem}

/* Cards */
.operateurs-section{padding:4rem 0;background-color:var(--secondary)}
.how-we-review{margin:-1rem 0 2rem 0;background:var(--surface);border:1px solid var(--border-color);border-radius:.5rem;padding:.75rem 1rem;color:var(--text-muted);font-size:.95rem}
.operateur-card{margin-bottom:2rem;border-radius:.75rem;border:1px solid var(--border-color);padding:1.5rem;transition:all .3s ease;background-color:var(--surface)}
.operateur-card:hover{transform:translateY(-.25rem);box-shadow:0 10px 18px rgba(16,24,40,.08)}

.operateur-content,.operateur-logo-area{display:flex;flex-direction:column}
.operateur-logo-area{margin-bottom:1.5rem;align-items:center}
.operateur-logo-container{margin-bottom:.75rem;border-radius:.5rem;display:flex;justify-content:center;align-items:center;padding:1rem;height:100px;width:200px;background-color:#eef3f9}
.operateur-logo{max-height:100%;max-width:100%}
.operateur-rating{margin-top:.5rem;display:flex;align-items:center}
.stars{color:var(--accent);margin-right:.5rem}
.rating-text{font-weight:700;color:var(--text-heading)}

/* Cookie Consent */
.cookie-consent{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:var(--surface);border-top:1px solid var(--border-color);box-shadow:0 -6px 16px rgba(0,0,0,.06)}
.cookie-consent.hidden{display:none}
.cookie-consent .cc-inner{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;padding:1rem 1.25rem;max-width:1200px;margin:0 auto}
.cookie-consent .cc-text{color:var(--text-body);font-size:.95rem;line-height:1.5}
.cookie-consent .cc-text a{color:var(--primary);text-decoration:underline}
.cookie-consent .cc-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.cookie-consent .cc-btn{cursor:pointer;border:1px solid var(--border-color);background:#fff;color:var(--text-heading);padding:.55rem .9rem;border-radius:.5rem;font-weight:600}
.cookie-consent .cc-btn.primary{background:var(--accent);border-color:var(--accent);color:#0e1b22}
.cookie-consent .cc-btn.link{border:none;background:transparent;color:var(--primary)}
.cookie-consent .cc-settings{display:none;padding:.75rem 1.25rem;border-top:1px solid var(--border-color);background:var(--secondary)}
.cookie-consent .cc-settings.active{display:block}
.cookie-consent .cc-setting-row{display:flex;justify-content:space-between;align-items:center;margin:.5rem 0}
.cookie-consent .cc-toggle{position:relative;width:44px;height:24px;background:#d1d5db;border-radius:999px;transition:background .2s ease}
.cookie-consent .cc-toggle[data-checked="true"]{background:var(--primary)}
.cookie-consent .cc-toggle .dot{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:999px;background:#fff;transition:left .2s ease}
.cookie-consent .cc-toggle[data-checked="true"] .dot{left:22px}

@media (max-width: 720px){
  .cookie-consent .cc-inner{flex-direction:column;align-items:stretch}
  .cookie-consent .cc-actions{justify-content:flex-end}
}

.operateur-benefits{margin-bottom:1.5rem}
.operateur-name{margin-bottom:.75rem;color:var(--primary);font-size:1.125rem}
.benefits-list{list-style:none}
.benefits-list li{margin-bottom:.5rem;display:flex;align-items:flex-start}
.benefits-list i{margin-top:.25rem;color:var(--accent);margin-right:.5rem}

.operateur-cta{display:flex;align-items:center;flex-direction:column}
.cta-button{font-weight:700;border-radius:9999px;text-align:center;color:#0e1b22;padding:.75rem 2rem;transition:transform .25s ease, background-color .25s ease;background-color:var(--accent);width:100%}
.cta-button:hover{transform:translateY(-2px);background-color:#cf7d2b}

.about-section{padding:4rem 0;background-color:var(--surface)}
.about-content{margin:0 auto;text-align:center;max-width:800px}
.about-text{margin-top:1.5rem;text-align:left}
.about-text p{margin-bottom:1rem}

.faq-section{padding:4rem 0;background-color:var(--secondary)}
.faq-container{margin:0 auto;max-width:800px}

.rg-resources{padding:3rem 0;background-color:var(--secondary)}
.rg-resources h2{margin-bottom:1rem}
.rg-resources ul{margin:1rem 0 0 1.25rem}
.rg-resources .note{margin-top:1rem;color:var(--text-gray)}

.rg-teaser{padding:2.5rem 0;background-color:var(--surface)}
.rg-teaser h3{margin-bottom:.5rem}
.faq-item{margin-bottom:1rem;border-radius:.5rem;border:1px solid var(--border-color);overflow:hidden}
.faq-question{display:flex;justify-content:space-between;cursor:pointer;align-items:center;padding:1rem;background-color:#f7f9fc}
.faq-question h3{font-weight:600;font-size:1.125rem}
.faq-question i{color:var(--primary);transition:transform .2s}
.faq-answer{display:none;padding:1rem;background-color:var(--surface)}
.faq-item.active .faq-answer{display:block}
.faq-item.active .faq-question i{transform:rotate(45deg)}

.responsible-section{padding:4rem 0;background-color:#f7f9fc}
.responsible-content{margin:0 auto;max-width:1000px}
.responsible-header{margin-bottom:2.5rem;text-align:center}
.age-badge-large{margin-bottom:1rem;border-radius:9999px;display:inline-block;padding:.75rem;background-color:#fff}
.age-badge-large span{font-weight:700;color:var(--primary);font-size:1.5rem}
.responsible-list,.responsible-text p{margin-bottom:1.5rem}
.responsible-list{list-style-type:disc;padding-left:1.25rem}
.responsible-list li{margin-bottom:.75rem}
.help-text{font-weight:600;color:var(--text-heading)}
.support-orgs{margin-top:2rem;display:grid;gap:1rem;grid-template-columns:1fr}
.support-card{border-radius:.5rem;display:flex;text-align:center;align-items:center;padding:1rem;transition:background-color .3s ease;background-color:#eef3f9;flex-direction:column}
.support-card:hover{background-color:#e6eff8}
.org-name{margin-bottom:.75rem;font-weight:700;color:var(--primary);font-size:1.125rem}
.org-desc{color:var(--text-body);font-size:.9rem}
.commission{margin-top:2rem;border-top:1px solid var(--border-color);text-align:center;padding-top:2rem}
.commission a{color:var(--primary)}

.footer{border-top:1px solid var(--border-color);padding:2.5rem 0;background-color:var(--surface)}
.footer-grid{display:grid;gap:2rem;grid-template-columns:1fr}
.footer-title{font-family:Inter,sans-serif;margin-bottom:1rem;color:var(--primary);font-size:1.1rem}
.footer-text{margin-bottom:1rem;color:var(--text-muted);font-size:.9rem}
.footer-age{margin-top:1rem}
.footer-age,.footer-age-badge{display:flex;align-items:center}
.footer-age-badge{font-weight:700;border-radius:.25rem;border:2px solid var(--primary);justify-content:center;color:var(--primary);padding:.25rem .5rem;font-size:1.125rem;margin-right:.5rem}
.footer-age-text{color:var(--text-muted);font-size:.875rem}
.footer-menu{list-style:none}
.footer-menu li{margin-bottom:.5rem}
.footer-menu a{color:var(--text-muted);transition:color .2s}
.footer-menu a:hover{color:var(--primary)}
.footer-bottom{margin-top:2.5rem;border-top:1px solid var(--border-color);text-align:center;color:var(--text-muted);padding-top:1.5rem;font-size:.875rem}

/* Media Queries */
@media (min-width:768px){
  .desktop-nav{display:flex}
  .mobile-menu-button{display:none}
  .hero-content{flex-direction:column;align-items:flex-start;justify-content:flex-start}
  .hero-title{font-size:3rem}
  .hero-description{font-size:1.125rem}
  .hero-actions{justify-content:flex-start}
  .operateur-content{align-items:center;flex-direction:row}
  .operateur-logo-area{margin-bottom:0;width:25%}
  .operateur-benefits{margin-bottom:0;padding:0 1.5rem;width:50%}
  .operateur-cta{width:25%}
  .cta-button{width:auto}
  .support-orgs{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .section-title{font-size:2.25rem}
  .logo-text{font-size:1.35rem}
  /* Operator cards 1+2 grid: first full-width, next two side-by-side */
  .operateur-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
  .operateur-grid .operateur-card:nth-child(1){grid-column:1 / -1;justify-self:center;max-width:600px;width:100%}
}

@media (min-width:1024px){
  .hero-title{font-size:3.5rem}
}
