/* ==========================================================================
   CSS RESET & NORMALIZE
   ========================================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #F6F0E3;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #184865;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, textarea, select {
  font: inherit;
  outline: none;
}

a {
  color: #184865;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #76A76F;
  text-decoration: underline;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

ol, ul {
  list-style: disc inside;
}

blockquote {
  margin: 0 0 1em 0;
  padding: 12px 24px;
  border-left: 4px solid #76A76F;
  background: #fff8ed;
  color: #184865;
  font-style: italic;
  border-radius: 15px;
  box-shadow: 0 1px 6px rgba(118,167,111,0.07);
}

/* ==========================================================================
   BRAND FONTS (Montserrat for Headings, Open Sans for Body)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184865;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
h1 { font-size: 2.75rem; line-height: 1.18; margin-bottom: 22px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 18px; }
h3 { font-size: 1.3rem; line-height: 1.15; margin-bottom: 10px; }
h4 { font-size: 1.08rem; font-weight: 600; }

.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #76A76F;
  font-size: 1.28rem;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight:700;
  color: #184865;
}

/* Paragraph spacing */
p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ==========================================================================
   LAYOUT CONTAINERS & FLEXBOX PATTERNS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(24, 72, 101, 0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 30px;
  box-shadow: 0 1px 9px rgba(118, 167, 111, 0.08);
  padding: 28px 22px 20px 22px;
  min-width: 220px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(118,167,111,0.17);
  transform: translateY(-2px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(24, 72, 101, 0.09), 0 0px 3px 0 rgba(246,240,227, 0.25);
  padding: 20px;
  border-radius: 32px;
  min-width: 240px;
  margin-bottom: 24px;
  color: #184865;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(24,72,101, 0.13);
  transform: translateY(-1px) scale(1.017);
}
.testimonial-card blockquote {
  background: none;
  border: none;
  margin: 0;
  padding: 0 12px 0 0;
  font-style: italic;
  color: #184865;
  font-size: 1.04rem;
}
.testimonial-card cite {
  display: block;
  margin-top: 4px;
  color: #76A76F;
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(118,167,111,0.05);
  padding: 32px 22px 28px 22px;
  min-width: 200px;
  margin-bottom: 20px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, transform .18s;
}
.feature-item:hover {
  box-shadow: 0 8px 22px rgba(246,240,227,0.12), 0 2px 16px rgba(118,167,111,0.13);
  transform: translateY(-2px) scale(1.017);
}
.feature-item img {
  width: 44px; height: 44px;
  background: #F6F0E3;
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(246,240,227,0.15);
  margin-bottom: 6px;
}
.feature-item h3 {
  margin-bottom: 6px;
  color: #184865;
  font-size: 1.12rem;
}
.feature-item p {
  margin-bottom: 0;
  color: #2c455b;
  font-size: 15px;
}

/* Grid-like layouts with Flexbox */
.feature-grid, .stat-grid, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  margin-top: 18px;
  margin-bottom: 18px;
}
.stat-grid {
  gap: 24px;
  margin-bottom: 20px;
}
.faq-list {
  flex-direction: column;
  gap: 20px;
}

.stat-item {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(24, 72, 101, 0.08);
  padding: 26px 24px;
  min-width: 150px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.stat-number {
  color: #76A76F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
}
.stat-text {
  color: #184865;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

.faq-item h3 {
  font-size: 1.11rem;
  color: #184865;
  margin-bottom: 4px;
  font-weight: 600;
}
.faq-item p {
  font-size: 1rem;
  color: #2c455b;
}

.cta-btn, .cookie-consent-btn {
  background: #76A76F;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 16px 32px;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 10px;
  box-shadow: 0 2px 7px rgba(118,167,111,0.09);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  outline: none;
  display: inline-block;
  min-width: 160px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus, .cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #184865;
  color: #F6F0E3;
  box-shadow: 0 4px 16px rgba(24,72,101,0.15);
  transform: translateY(-1px) scale(1.015);
}

.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
}

.trust-section, .trust-signals {
  background: #FFFDEE;
  color: #184865;
  border-radius: 18px;
  margin: 16px 0 0 0;
  padding: 18px 16px;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(246,240,227,0.13);
}

.info-message {
  background: #E4F7EB;
  color: #184865;
  border-radius: 15px;
  padding: 13px 18px;
  font-size: 1rem;
  margin-top: 14px;
  margin-bottom: 14px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ==========================================================================*/
header {
  width: 100%;
  background: #F6F0E3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
  position: relative;
  z-index: 80;
  box-shadow: 0 2px 10px rgba(24, 72, 101, 0.03);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #184865;
  padding: 8px 15px;
  border-radius: 18px;
  transition: background 0.17s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: #76A76F;
  color: #fff;
}
header img {
  height: 52px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: #76A76F;
  color: #FFF;
  font-size: 2rem;
  border-radius: 14px;
  padding: 6px 20px 6px 14px;
  margin-left: 14px;
  transition: background .17s;
  z-index: 200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #184865;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,240,227,0.97);
  box-shadow: 0 8px 32px rgba(24,72,101,0.09);
  z-index: 999;
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .37s cubic-bezier(.6,.1,.5,1), opacity .18s;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 32px 0 0;
  font-size: 2.2rem;
  color: #184865;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #76A76F;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .14s, border .18s;
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #184865; color: #FFF; border:2px solid #76A76F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px 32px 0 32px;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: #184865;
  padding: 22px 0 12px 4px;
  border-bottom: 1px dashed #76A76F;
  border-radius: 0;
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #76A76F;
  background: #fff;
}

/* ==========================================================================
   FOOTER
   =========================================================================*/
footer {
  width: 100%;
  background: #184865;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 34px 0 28px 0;
  border-radius: 50px 50px 0 0;
  margin-top: 64px;
}
footer img {
  height: 44px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 6px;
}
footer nav a {
  color: #FFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 15px;
  transition: background 0.17s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #76A76F;
  color: #FFF;
}
.footer-contact {
  text-align: center;
  color: #F6F0E3;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-contact p {
  margin-bottom: 5px;
}

/* ==========================================================================
   PAGE SECTIONS
   =========================================================================*/
.hero {
  background: #fff;
  border-radius: 32px;
  padding: 48px 18px 48px 18px;
  box-shadow: 0 4px 24px rgba(24,72,101,0.07);
  margin-bottom: 48px;
  margin-top: 18px;
  text-align: center;
}
.hero h1 { color: #184865; margin-bottom: 12px;}
.hero .cta-btn { margin-top: 22px; }

.intro, .about, .statistics, .faq, .cookie-policy, .privacy-policy, .values, .rgpd, .terms-of-use, .how-to, .step-by-step-guide, .tips, .guide-download, .thank-you, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(24, 72, 101, 0.04);
}

.cta-download {
  background: #76A76F;
  color: #fff;
  border-radius: 32px;
  padding: 42px 18px;
  margin-bottom: 60px;
  box-shadow: 0 1px 10px rgba(118,167,111,0.07);
  text-align: center;
}
.cta-download h2 { color: #fff; }
.cta-download p { color: #fff; }
.cta-download .cta-btn {
  background: #fff;
  color: #76A76F;
  margin-top: 17px;
}
.cta-download .cta-btn:hover {
  background: #184865;
  color: #fff;
}

.text-section {
  margin-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First)
   =========================================================================*/
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .stat-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero, .cta-download, .section, .intro, .about, .statistics, .faq, .cookie-policy, .privacy-policy, .values, .rgpd, .terms-of-use, .how-to, .step-by-step-guide, .tips, .guide-download, .thank-you, .contact {
    border-radius: 18px;
    padding: 32px 8px;
  }
  .container{padding: 0 5px;}
  .content-grid, .card-container, .faq-list, .stat-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer {
    gap: 14px;
    padding: 24px 0 15px 0;
    border-radius: 32px 32px 0 0;
  }
  footer nav {
    gap: 10px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.13rem; }
  .footer-contact { font-size: 0.97rem;}
  .cta-btn {
    font-size: 1rem;
    padding: 14px 18px;
    min-width: 120px;
  }
  .card, .stat-item, .feature-item, .testimonial-card {
    min-width: 0;
    padding: 15px 8px 12px 10px;
  }
}

/* ==========================================================================
   COOKIE BANNER & MODAL
   =========================================================================*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8ed;
  color: #184865;
  border-top: 3px solid #76A76F;
  padding: 20px 24px 20px 24px;
  box-shadow: 0 -2px 22px rgba(24,72,101,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  z-index: 2000;
  animation: cookie-slidein .72s cubic-bezier(.55,.02,.35,.98);
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 8px 20px 8px;
    gap: 18px;
  }
}
.cookie-consent-text {
  font-size: 1rem;
  flex: 1 1 200px;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-consent-btn--accept {
  background: #76A76F;
  color: #fff;
}
.cookie-consent-btn--reject {
  background: #fff;
  color: #184865;
  border: 1.5px solid #76A76F;
}
.cookie-consent-btn--settings {
  background: #F6F0E3;
  color: #184865;
  border: 1.5px solid #76A76F;
}
.cookie-consent-btn { 
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s, color 0.15s, box-shadow .15s;
  box-shadow: 0 1px 4px rgba(118,167,111,.08);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #184865;
  color: #FFF;
  outline: none;
}

@keyframes cookie-slidein {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,72,101, 0.16);
  z-index: 4001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff8ed;
  color: #184865;
  border-radius: 24px;
  box-shadow: 0 6px 32px rgba(24,72,101,0.09);
  min-width: 302px;
  max-width: 94vw;
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 4002;
  animation: popupfadein .3s cubic-bezier(.5,.1,.5,1);
}
@keyframes popupfadein {
  0% { transform: translateY(32px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #184865;
  font-size: 1.25rem;
  margin-bottom: 13px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.cookie-modal-label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2c455b;
}
.cookie-modal-toggle {
  width: 44px;
  height: 22px;
  position: relative;
  background: #E4F7EB;
  border-radius: 22px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal-toggle input[type="checkbox"] {
  appearance: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}
.cookie-modal-toggle .slider {
  position: absolute;
  top: 1.2px; left: 2px;
  width: 20px; height: 19px;
  border-radius: 50%;
  background: #76A76F;
  transition: left 0.12s;
}
.cookie-modal-toggle input[type="checkbox"]:checked + .slider {
  left: 22px;
  background: #184865;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.5rem;
  background: transparent;
  color: #184865;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .16s, color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E4F7EB;
}

/* ==========================================================================
   OVERRIDES & UTILITY CLASSES (if needed)
   =========================================================================*/
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }

/* ==========================================================================
   SCROLLBARS (for touch friendliness)
   =========================================================================*/
::-webkit-scrollbar {background: #F6F0E3; width: 8px; border-radius: 6px;}
::-webkit-scrollbar-thumb {background: #76A76F; border-radius: 7px;}

/* ==========================================================================
   ANIMATIONS FOR INTERACTIONS
   =========================================================================*/
.card, .feature-item, .testimonial-card{
  transition: box-shadow 0.2s, transform 0.18s;
}
.cta-btn, .cookie-consent-btn{
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}

/* ==========================================================================
   ACCESSIBILITY
   =========================================================================*/
:focus {
  outline: 2px dashed #76A76F;
  outline-offset: 1.4px;
}

/* ==========================================================================
   END OF CSS
   =========================================================================*/
