/* RESET & BASE STYLES */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F8F6F1;
  color: #20435C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #297F4E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #20435C;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
/* TYPOGRAPHY */
h1, .hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #20435C;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #297F4E;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 500;
  color: #20435C;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B4545;
  margin-bottom: 14px;
}
blockquote {
  background: #E1F1E5;
  color: #296150;
  border-left: 4px solid #297F4E;
  padding: 18px 26px;
  font-style: italic;
  margin: 22px 0;
  border-radius: 12px;
  font-family: 'Playfair Display', serif;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
  max-width: 1200px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 230px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(70, 95, 70, 0.07);
  transition: box-shadow 0.22s, transform 0.2s;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(70, 95, 70, 0.20);
  transform: translateY(-6px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 4px rgba(41,127,78,0.09);
  margin-bottom: 24px;
  border-left: 5px solid #53A672;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(41,127,78,0.16);
  border-left: 5px solid #20435C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 32px;
  padding: 14px 0;
}
.explicatif {
  background: #F5F7F3;
  border-radius: 14px;
  padding: 20px 20px 14px 24px;
  margin: 28px 0 0 0;
  border-left: 5px solid #297F4E;
}
.faq {
  background: #F7FAF7;
  border-radius: 14px;
  padding: 32px 18px;
  margin-bottom: 52px;
}
.faq-item {
  margin-bottom: 28px;
  border-bottom: 1px solid #E1F1E5;
  padding-bottom: 16px;
}
.faq-item:last-child {
  border-bottom: none;
}
.lead-magnet {
  background: #e7efe4;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(41, 127, 78, 0.08);
  margin-bottom: 60px;
  padding: 32px 20px;
}
.hero-section {
  background: #E1F1E5;
  border-radius: 0 0 52% 48%/0 0 36% 60%; /* organic wave */
  padding: 60px 0 36px 0;
  margin-bottom: 44px;
  position: relative;
}
.hero-section .container {
  z-index: 2;
  position: relative;
}
.articles-list {
  background: #FFF;
  border-radius: 20px;
  padding: 40px 18px;
  margin-bottom: 48px;
  box-shadow: 0 1px 6px rgba(41,127,78,0.06);
}
.article-card {
  background: #F5F7F3;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(41,127,78,0.05);
  transition: box-shadow .18s, transform .17s;
}
.article-card:hover {
  box-shadow: 0 6px 16px rgba(41,127,78,0.13);
  transform: translateY(-3px);
}
.categories {
  background: #E1F1E5;
  border-radius: 18px;
  padding: 30px 18px;
}
.categories ul {
  margin-bottom: 16px;
}
.categories ul li {
  margin-bottom: 8px;
  font-size: 16px;
}
.timeline {
  padding-left: 0;
  margin-bottom: 32px;
}
.timeline li {
  margin-bottom: 18px;
  padding-left: 26px;
  position: relative;
  color: #225e31;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
.timeline li:before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #297F4E;
  position: absolute;
  left: 0;
  top: 8px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 23px;
}
.feature {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(41,127,78,0.08);
  flex: 1 1 220px;
  min-width: 210px;
  padding: 30px 20px 20px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.feature img {
  margin-bottom: 16px;
  width: 36px;
  height: 36px;
}
.feature:hover {
  box-shadow: 0 6px 24px rgba(41,127,78,0.16);
}
.form-section {
  background: #F5F7F3;
  border-radius: 18px;
  padding: 36px 18px;
  margin-bottom: 52px;
}
.form-section ul {
  margin-bottom: 14px;
}
.form-section li {
  margin-bottom: 10px;
}
.contact-section {
  background: #FFF;
  border-radius: 18px;
  padding: 32px 18px;
  margin-bottom: 52px;
  box-shadow: 0 1px 8px rgba(41,127,78,0.06);
}
.contact-section ul {
  margin-bottom: 22px;
}
.contact-section li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.cta {
  background: #297F4E;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 2px 14px rgba(41,127,78,0.14);
  padding: 36px 18px;
  margin-bottom: 50px;
}
.cta h2 {
  color: #fff;
}
.cta .primary-cta {
  background: #fff;
  color: #297F4E;
  border-radius: 25px;
  margin-top: 16px;
}
/******* PRIMARY CTA BUTTONS *******/
.primary-cta {
  display: inline-block;
  background: #297F4E;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  padding: 13px 34px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(41,127,78,0.13);
  margin-top: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.12s;
  letter-spacing: 0.5px;
}
.primary-cta:hover, .primary-cta:focus {
  background: #20435C;
  color: #fff;
  box-shadow: 0 8px 30px rgba(41,127,78,0.15);
  transform: translateY(-2px) scale(1.03);
}

/********* NAVIGATION *******/
header {
  position: sticky;
  top: 0;
  z-index: 109;
  background: #FFF;
  box-shadow: 0 1px 5px rgba(41,127,78,.11);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 23px;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: transparent;
}
.main-nav img {
  height: 40px;
  margin-right: 18px;
}
.main-nav a {
  padding: 7px 12px;
  border-radius: 19px;
  color: #20435C;
  font-weight: 500;
  transition: background 0.16s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E1F1E5;
  color: #297F4E;
}
.main-nav .primary-cta {
  margin-left: 14px;
  margin-top: 0;
}
.mobile-menu-toggle {
  display: none;
  background: #297F4E;
  color: #fff;
  font-size: 30px;
  border: none;
  border-radius: 9px;
  padding: 6px 13px 5px 13px;
  cursor: pointer;
  transition: background .15s;
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #20435C;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #e1f1e5ee;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,.07,.47,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #297F4E;
  font-size: 38px;
  border: none;
  padding: 22px 18px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 1201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #20435C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 18px;
  width: 100vw;
}
.mobile-nav a {
  width: 100%;
  padding: 16px 32px;
  color: #20435C;
  font-size: 1.14rem;
  border-bottom: 1px solid #cbe3d1;
  background: none;
  margin: 0;
  border-radius: 0;
  font-weight: 500;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #297F4E11;
  color: #297F4E;
}
/******* FOOTER ******/
footer {
  background: #20435C;
  color: #fff;
  margin-top: 70px;
  padding: 0;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 22px;
  gap: 22px;
}
.footer-logo-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 950px;
}
.footer-logo-contact img {
  height: 64px;
  margin-right: 12px;
}
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #dff6e3;
  font-size: 16px;
}
.contact-infos p {
  color: #dff6e3;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mini-nav, .legal {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  color: #e1f1e5cc;
  margin: 7px 0;
}
.mini-nav a, .legal a {
  color: #e6ffe3;
  padding: 1px 7px;
  border-radius: 10px;
  transition: background 0.16s, color 0.15s;
}
.mini-nav a:hover, .legal a:hover, .mini-nav a:focus, .legal a:focus {
  background: #297F4E;
  color: #fff;
}
.copyright {
  text-align: center;
  color: #c2dfbe;
  font-size: 14px;
  margin-top: 10px;
}

/********** COOKIE CONSENT BANNER **********/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20000;
  background: #23492e;
  color: #fff;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 20px rgba(41,127,78,0.15);
  border-radius: 22px 22px 0 0;
  animation: cookie-bounce-in 0.44s cubic-bezier(.46,1.65,.59,1.14);
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookie-bounce-in {
  0% { transform: translateY(80px) scale(0.95); opacity: 0; }
  90% { transform: translateY(-7px) scale(1.04); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 3px;
}
.cookie-btn, .cookie-settings-btn {
  background: #53A672;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 15px;
  padding: 8px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.16s;
  box-shadow: 0 1px 8px rgba(67,167,104,0.08);
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #297F4E;
  transform: scale(1.04);
}
.cookie-settings-btn {
  background: #20435C;
  color: #fff;
  border: 1.5px solid #53A672;
}
/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 22222;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,50,33,0.71);
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fade-in 0.35s cubic-bezier(.55,.1,.33,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #F8F6F1;
  color: #20435C;
  border-radius: 18px;
  padding: 42px 28px 29px 28px;
  max-width: 470px;
  width: 94vw;
  box-shadow: 0 4px 40px rgba(39,127,90,0.19);
  position: relative;
  animation: cookie-modal-content-in 0.36s;
}
@keyframes cookie-modal-content-in {
  0% { transform: scale(0.95); }
  70% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  right: 16px;
  top: 15px;
  color: #297F4E;
  background: none;
  border: none;
  font-size: 27px;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-content .close-cookie-modal:hover {
  color: #20435C;
}
.cookie-modal-content h2 {
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap: 16px;
}
.cookie-category label {
  flex: 1;
  font-size: 16px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 20px;
  border: none;
  background: #dce7da;
  position: relative;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: background .2s;
}
.cookie-toggle:checked {
  background: #53A672;
}
.cookie-toggle:before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left .18s;
  box-shadow: 0 1px 4px rgba(30,30,30,0.08);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  background: #297F4E;
  color: #fff;
}
.cookie-modal-actions .cookie-btn:hover {
  background: #20435C;
}
.cookie-modal-actions .cookie-settings-btn {
  background: #fff;
  color: #297F4E;
  border: 1.5px solid #297F4E;
}
.cookie-modal-actions .cookie-settings-btn:hover {
  background: #e1f1e5;
}

/********** RESPONSIVE DESIGN **********/
@media (max-width: 1140px) {
  .footer-logo-contact { flex-direction: column; align-items: center; }
  .main-nav { flex-wrap: wrap; gap: 12px; padding-bottom: 6px; }
}
@media (max-width: 900px) {
  .container { padding: 0 8px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-section { padding: 36px 0 18px 0; border-radius: 0 0 40% 31%/0 0 24% 42%;}
  .footer-wrapper { padding: 25px 7px 30px 7px; }
  .footer-logo-contact img { height: 46px; }
  .feature-grid { flex-direction: column; gap: 18px; }
  .card-container, .content-grid { flex-direction: column; gap: 18px; }
  .feature, .card { min-width: 92vw; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .lead-magnet, .cta, .form-section, .faq, .contact-section, .articles-list, .categories {
    padding: 18px 7px;
    border-radius: 13px;
  }
  h1, .hero-section h1 { font-size: 1.6rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1.03rem; }
}
@media (max-width: 480px) {
  .footer-logo-contact img { height: 38px; }
  .footer-wrapper { gap: 14px; }
  .cookie-modal-content { padding: 21px 6vw 20px 8vw; border-radius: 11px; }
}

/****** OTHER MICRO-INTERACTIONS ******/
.card, .feature, .article-card, .testimonial-card {
  transition: box-shadow 0.17s, transform .17s, border-left .14s;
}
.card:active, .primary-cta:active, .feature:active, .testimonial-card:active, .article-card:active {
  transform: scale(.97);
}
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  outline: none;
}

/****** ACCESSIBILITY / FOCUS STATES ******/
a:focus, .primary-cta:focus, .cookie-btn:focus, .cookie-settings-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #E1F1E5;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #53A67244;
}

/******* NATURE ORGANIC EXTRAS ******/
.hero-section, .lead-magnet, .feature, .card, .cta, .testimonial-card, .categories, .form-section, .faq, .explicatif {
  background-image: url('assets/organic-texture.png'); /* subtle organic texture (provide file)*/
  background-blend-mode: lighten;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-section:after {
  content: '';
  position: absolute;
  bottom: -28px; left: 0; right: 0; height: 45px;
  background: #E1F1E5;
  border-radius: 65% 35% 0 0/85% 25% 0 0;
  z-index: 1;
}

/******* END ******/