/* --- RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #232323;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #27613B;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
:focus {
  outline: 2px solid #FFD233;
  outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #27613B;
}
h1 { font-size: 2.4rem; line-height: 1.16; }
h2 { font-size: 1.7rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- BRAND VIBRANT ENERGETIC STYLE --- */
:root {
  --primary: #27613B;
  --secondary: #FFD233;
  --accent: #FFFFFF;
  --electric-green: #00cb6c;
  --vivid-blue: #2268f3;
  --hot-pink: #ff368b;
  --bright-orange: #fa6400;
  --shadow-color: rgba(39,97,59,0.1);
  --radius: 18px;
  --transition: 0.18s cubic-bezier(0.7,0.3, 0.2, 1.1);
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

body {
  background: var(--accent);
  color: #21292C;
}
main {
  min-height: 60vh;
  padding-bottom: 32px;
}
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.text-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 4px 24px 0 var(--shadow-color);
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 1em;
}
.text-section ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 1.05em;
}

/* --- FLEXBOX LAYOUT RULES --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px 0 var(--shadow-color);
  padding: 30px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 20px;
  position: relative;
  border: 2px solid var(--secondary);
}
.feature-block img {
  width: 45px;
  height: 45px;
  margin-bottom: 8px;
}
.feature-block h3 {
  font-size: 1.21rem;
  color: var(--primary);
  margin-bottom: 4px;
  text-shadow: 0 1px 0 #FFD23333;
}
.feature-block p, .feature-block ul {
  color: #233a24;
  font-size: 1.02rem;
}
.feature-block p strong { color: var(--hot-pink); }
.feature-block:hover {
  box-shadow: 0 8px 32px 0 rgba(34,104,243,0.13), 0 2px 24px 0 var(--shadow-color);
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  border-color: var(--electric-green);
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 1.06rem;
  font-weight: bold;
  border-radius: 100px;
  padding: 13px 32px;
  min-width: 170px;
  text-align: center;
  cursor: pointer;
  border: none;
  margin: 6px 0 0 0;
  letter-spacing: 0.045em;
  box-shadow: 0 2px 12px 0 rgba(250,100,0,0.06);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: var(--accent);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--hot-pink);
  color: #fff;
  box-shadow: 0 6px 30px 0 rgba(255,54,139,0.21);
  transform: scale(1.06) translateY(-2px);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--vivid-blue);
  color: #fff;
  box-shadow: 0 6px 30px 0 rgba(34,104,243,0.16);
  transform: scale(1.06) translateY(-2px);
}

/* --- NAVIGATION / HEADER --- */
header {
  width: 100%;
  background: var(--primary);
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 18px 0 rgba(0,0,0,0.04);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 16px;
  min-height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.main-nav ul li {
  margin-bottom: 0;
}
.main-nav ul li a {
  color: var(--secondary);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  letter-spacing: 0.03em;
  padding: 4px 4px 4px 4px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: var(--accent);
  background: var(--electric-green);
}
.main-nav .btn-primary {
  min-width: 160px;
  background: var(--secondary);
  color: var(--primary);
  margin-left: 18px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 2px 20px 0 rgba(255,210,51,0.10);
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: var(--hot-pink);
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.3rem;
  border-radius: 12px;
  border: none;
  padding: 7px 18px;
  margin-left: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 41;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--hot-pink);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1002;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.75,0.065,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 8px 80px 5px rgba(34,104,243,0.08);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  position: absolute;
  top: 27px; right: 37px;
  z-index: 1010;
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--hot-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 88px 0 0 38px;
  width: 80vw;
  max-width: 340px;
}
.mobile-nav a {
  padding: 10px 0 10px 0;
  font-size: 1.21rem;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: color .18s, background .18s;
  min-width: 180px;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--electric-green);
  color: #fff;
}

/* --- HERO AND MAIN CTA --- */
section:first-child .container {
  padding-top: 34px;
  position: relative;
}
section:first-child .content-wrapper {
  padding-top: 12px;
}
section:first-child .btn-primary {
  margin-top: 30px;
  font-size: 1.18rem;
  box-shadow: 0 8px 40px 0 rgba(250,100,0,0.11);
}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 30px 22px 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(220,220,250,0.10), 0 4px 16px 0 var(--shadow-color);
  min-width: 260px;
  max-width: 380px;
  position: relative;
  margin-bottom: 20px;
  font-size: 1.08rem;
  border-left: 6px solid var(--vivid-blue);
  transition: box-shadow .16s, border-left-color .16s;
}
.testimonial-card:hover {
  border-left-color: var(--hot-pink);
  box-shadow: 0 8px 28px 2px rgba(255,54,139,0.08), 0 4px 18px 0 var(--shadow-color);
}
.testimonial-card p {
  color: #1f2230;
  font-size: 1.03rem;
}
.testimonial-author {
  color: var(--primary);
  font-family: var(--heading-font);
  font-weight: bold;
  font-size: 1rem;
}

/* --- NEWSLETTER SIGN-UP (ACTUALITÉS) --- */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: #f9f9fb;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(39,97,59,0.08);
  padding: 18px 20px 16px 20px;
  margin-bottom: 16px;
}
.newsletter-signup label {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.06em;
  color: var(--hot-pink);
  margin-right: 6px;
}
.newsletter-signup input[type='email'] {
  background: #fff;
  border:1px solid var(--primary);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 1.04rem;
  width: 220px;
  color: #21292c;
  transition: border .16s;
}
.newsletter-signup input[type='email']:focus {
  border-color: var(--hot-pink);
}
.newsletter-signup input[type='submit'] {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--heading-font);
  font-size: 1.03em;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .14s;
}
.newsletter-signup input[type='submit']:hover, .newsletter-signup input[type='submit']:focus {
  background: var(--hot-pink);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 38px 0 24px 0;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 38px;
  justify-content: space-between;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.01rem;
  margin-bottom: 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--hot-pink);
  background: none;
}
.mini-contact span {
  color: var(--accent);
  font-size: 0.98rem;
}
footer img {
  max-height: 55px;
  width: auto;
}

/* --- UTILITIES AND OTHER BLOCKS --- */
.map-location {
  background: #f3fff8;
  border-radius: 16px;
  padding: 17px 23px;
  font-size: 1.01em;
  color: var(--primary);
  box-shadow: 0 2px 16px 0 var(--shadow-color);
  margin-bottom: 20px;
}
.prix {
  font-family: var(--heading-font);
  font-weight: bold;
  color: var(--hot-pink);
  margin-left: 10px;
}
::selection {
  background: var(--secondary);
  color: var(--primary);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -2px 20px 0 rgba(34,104,243,0.09);
  padding: 23px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2000;
  font-size: 1.05rem;
  animation: cookieSlideIn .6s cubic-bezier(.6,1.5,.28,1) both;
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 100px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1em;
  padding: 9px 28px;
  margin: 0 6px 0 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform .18s;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: var(--hot-pink);
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--electric-green);
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--hot-pink);
  color: #fff;
  transform: scale(1.06);
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3031;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,97,59,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 384px;
  width: 92vw;
  box-shadow: 0 8px 60px 0 rgba(34,104,243,0.20);
  padding: 34px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPopup .36s cubic-bezier(.38,1.8,.2,1) both;
}
@keyframes modalPopup {
  from {transform: scale(0.77); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.18rem;
  margin-bottom: 2px;
  letter-spacing: .01em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-family: var(--body-font);
  font-size: 1em;
  color: #15151e;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  width: 22px; height: 22px;
  margin-right: 6px;
}
.cookie-modal .cookie-essential[disabled] {
  accent-color: var(--vivid-blue);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal button {
  border-radius: 100px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1em;
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--vivid-blue);
  color: #fff;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 17px;
  background: var(--hot-pink);
  color: #fff;
  border-radius: 8px;
  border: none;
  font-size: 1.3em;
  width: 33px; height: 33px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .17s, color .17s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--bright-orange);
}

/* --- MISCELLANEOUS --- */
a.btn-primary, a.btn-secondary {
  text-decoration: none;
  margin-top: 0;
}
h1, h2, h3 {
  text-wrap: balance;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .main-nav {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .content-wrapper,
  .footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .content-wrapper {
    gap: 14px;
    margin-bottom: 24px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  nav.main-nav ul { display: none; }
  .main-nav .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav { padding: 0 4vw; }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 18px 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 30px 5vw;
  }
  .text-image-section,
  .content-wrapper,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  footer {
    padding: 26px 0 14px 0;
  }
}
@media (max-width: 590px) {
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav {
    margin: 74px 0 0 15px;
    width: 86vw;
    max-width: 98vw;
    gap: 13px;
  }
  h1 { font-size: 1.53rem; }
  h2 { font-size: 1.17rem; }
  .text-section { padding: 18px 7px; }
  .section { padding: 19px 2vw; }
}

/* --- FLEXBOX SPACING & UTILITY CLASSES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 15px 0 var(--shadow-color);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 20px 24px;
  transition: box-shadow .15s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(0,203,108,0.16);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- END --- */