/* ===== 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F5F5F2;
  color: #234038;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #234038;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #AF9F63;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
:focus {
  outline: 2px solid #AF9F63;
  outline-offset: 2px;
}

/* ===== BRAND COLORS & FONTS ===== */
:root {
  --color-primary: #234038;
  --color-secondary: #6C9271;
  --color-accent: #F5F5F2;
  --color-gold: #AF9F63;
  --color-gold-dark: #8C7C46;
  --color-grey: #49524A;
  --color-white: #fff;
  --transition-fast: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.4s cubic-bezier(.4,0,.2,1);
  --box-shadow-card: 0 2px 20px 0 rgba(35,64,56,0.07), 0 1.5px 4px 0 rgba(175,159,99,.04);
  --radius-soft: 20px;
  --radius-button: 32px;
  --radius-card: 24px;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm4532VJOt5-QNFgpC8.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm459WxhzQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
    url('https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjxAwXjeu.woff2') format('woff2');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234038;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 { font-size: 2rem; margin-bottom: 28px; }
h2 { font-size: 1.5rem; margin-bottom: 22px; }
h3 { font-size: 1.18rem; margin-bottom: 13px; }
h4, h5, h6 { font-size: 1rem; }
p, li, ul, ol { font-family: 'Lato', Arial, sans-serif; }
p, ul, ol { margin-bottom: 1.25em; font-size: 1.05rem; }
strong { font-weight: 700; color: #234038; }
.brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: .99em;
  letter-spacing: 0.05em;
  color: #6C9271;
  margin-bottom: 18px;
}
.mission-statement {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #AF9F63;
  margin-bottom: 16px;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-soft);
  box-shadow: var(--box-shadow-card);
}

/* ===== MAIN LAYOUT & SPACING ===== */
main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 60vh;
  margin-bottom: 60px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  box-shadow: var(--box-shadow-card);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  padding: 26px 22px 22px 22px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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 {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px 0 rgba(175,159,99,0.07);
  border: 1px solid #e2dece;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

 /* Ensures all lists of features/services/tips are flex on desktop */
.features-list, .usp-list, .values-list, .tips-list, .usp-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.features-list li, .usp-list li, .values-list li, .tips-list li, .usp-grid li, .services-list li {
  background: var(--color-white);
  border-radius: var(--radius-soft);
  box-shadow: var(--box-shadow-card);
  padding: 22px 22px 18px 22px;
  flex: 1 1 220px;
  min-width: 190px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-gold);
}
.features-list li img {
  margin-bottom: 12px;
  width: 38px;
  height: 38px;
}

.services-list li h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.services-list li h3 span {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--color-gold);
  font-size: 0.98em;
  font-weight: 400;
  margin-left: 10px;
}

/* Project highlight card for Réalisations */
.project-highlight {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--box-shadow-card);
  padding: 24px 26px;
  margin-bottom: 24px;
  border-left: 5px solid var(--color-secondary);
}

/* USP (about) and other lists */
.usp-list, .usp-grid, .values-list, .tips-list {
  gap: 18px;
}
.usp-list li, .usp-grid li {
  border-left: 4px solid var(--color-secondary);
  color: var(--color-primary);
  background: #fffefc;
}

/* Content blocks for contact info */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-block > div {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.01rem;
}
.contact-info-block img {
  width: 28px;
  height: 28px;
  margin-bottom: 0;
  margin-right: 7px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 10px 0 rgba(36,44,39,0.08);
  padding: 0 0 0 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
header > a > img {
  height: 50px;
  margin: 8px 18px 8px 12px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1 1 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.main-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #234038;
  padding: 8px 4px;
  border-radius: 5px;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav a:hover, .footer-nav a:hover {
  color: #AF9F63;
  background: rgba(175,159,99,0.06);
}

.primary-cta {
  background: linear-gradient(95deg, #AF9F63 60%, #8C7C46 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03em;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-button);
  padding: 11px 38px;
  margin-left: 18px;
  box-shadow: 0 1px 6px 0 rgba(175,159,99,0.15);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: linear-gradient(95deg, #8C7C46 60%, #AF9F63 100%);
  color: #fffbe6;
  box-shadow: 0 3px 18px 0 rgba(175,159,99,0.11);
  text-decoration: none;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  margin-left: auto;
  padding: 8px 16px;
  color: #234038;
  background: none;
  border: none;
  border-radius: 10px;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F5F2;
  color: #AF9F63;
}

/* ==================
   MOBILE NAVIGATION  
   ================== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 64, 56, 0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity .36s var(--transition-slow), transform .43s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 24px 29px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color .15s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #AF9F63;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
  margin-top: 10vh;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 7px;
  transition: background 0.17s;
  min-width: 120px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #AF9F63;
  background: #234038;
}

/* ========================
   FOOTER & INFORMATIONS
   ======================== */
footer {
  background: #234038;
  color: #F5F5F2;
  font-size: 0.98rem;
  padding-top: 32px;
  padding-bottom: 26px;
  margin-top: 56px;
}
footer .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
footer a, .footer-nav a, .legal-links a {
  color: #F5F5F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  transition: color .15s;
}
footer a:hover {
  color: #AF9F63;
}
.footer-contact-info span, .footer-contact-info img {
  vertical-align: middle;
}
.footer-contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  display: inline-block;
  opacity: .8;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 6px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2e4c40;
  border-radius: 50%;
  width: 36px; height: 36px;
  transition: background .2s;
}
.social-links a:hover {
  background: #AF9F63;
}
.social-links img {
  width: 20px;
  height: 20px;
  filter: brightness(120%) contrast(120%);
}
.legal-links {
  color: #d7d3b7;
  font-size: 0.97em;
  margin: 1em 0 0.2em 0;
}
.copyright {
  color: #d7d3b7;
  font-size: 0.97em;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ========== TESTIMONIALS, BLOCKQUOTES ========== */
.testimonial-card {
  background: #fff;
  color: #234038;
  border-left: 6px solid #AF9F63;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1em;
  color: #49524A;
  margin-bottom: 12px;
  line-height: 1.6;
  quotes: '“' '”' '‘' '’';
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: #AF9F63;
  font-size: 1.7em;
  vertical-align: -0.4em;
}
.testimonial-card blockquote:after {
  content: close-quote;
  color: #AF9F63;
  font-size: 1.7em;
  vertical-align: -0.4em;
}
.client-info {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  color: #6C9271;
}

/* ========== UTILITY CLASSES & ELEMENTS ========== */
.cta-text {
  font-size: 1.11em;
  color: #234038;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 16px;
  text-align: left;
}
.short-bio {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.08em;
  color: #49524A;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #234038;
  color: #F5F5F2;
  padding: 22px 16px 22px 30px;
  display: flex;
  align-items: center;
  gap: 26px;
  z-index: 9999;
  box-shadow: 0 -2px 24px 0 rgba(35,64,56,0.14);
  font-size: 1.05em;
  border-radius: 21px 21px 0 0;
  animation: banner-slide-in 0.42s cubic-bezier(.4,0,.2,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 auto;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  min-width: 128px;
  margin-right: 12px;
  border-radius: var(--radius-button);
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  border: none;
  box-shadow: 0 1px 6px 0 rgba(175,159,99,0.08);
  transition: background .16s, color .16s;
  cursor: pointer;
  margin-bottom: 2px;
}
.cookie-banner .cookie-btn.accept {
  background: linear-gradient(96deg, #AF9F63 75%, #6C9271 130%);
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: linear-gradient(93deg, #8C7C46 68%, #6C9271 100%);
  color: #fffbe0;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #234038;
  border: 1.2px solid #AF9F63;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #fdecc2;
  color: #8C7C46;
}
.cookie-banner .cookie-btn.settings {
  background: #234038;
  color: #AF9F63;
  border: 1.2px solid #AF9F63;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #AF9F63;
  color: #fff;
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,64,56,0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fff;
  color: #234038;
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(35,64,56,0.20);
  min-width: 328px;
  max-width: 96vw;
  padding: 38px 28px 32px 28px;
  text-align: left;
  animation: modal-pop .44s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@keyframes modal-pop {
  from { transform: scale(0.93); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.cookie-modal-dialog h2 {
  color: #234038;
  font-size: 1.42em;
  margin-bottom: 8px;
}
.cookie-modal-dialog p {
  font-size: 1.08em;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 1em;
}
.cookie-category .toggle-switch {
  width: 38px; height: 23px;
  appearance: none;
  background: #d2c9ad;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .14s;
}
.cookie-category .toggle-switch:checked {
  background: #AF9F63;
}
.cookie-category .toggle-switch:after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px; left: 2.5px;
  transition: left .17s;
  box-shadow: 0 1px 4px 0 #8C7C46;
}
.cookie-category .toggle-switch:checked:after {
  left: 17px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 110px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 19px; right: 28px;
  background: none;
  color: #AF9F63;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #6C9271;
}

/* ========= RESPONSIVE MEDIA QUERIES ========= */
@media (max-width: 1170px) {
  .container {
    max-width: 940px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 89vw;
  }
  .main-nav,
  .footer-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.06rem; }
  .brand-tagline, .mission-statement { font-size: 1em; }
  .main-nav {
    display: none;
  }
  .primary-cta {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1em;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 10px;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .card-container, .content-grid, .features-list, .usp-list, .values-list, .tips-list, .usp-grid, .services-list {
    flex-direction: column;
    gap: 17px;
  }
  .features-list li, .usp-list li, .values-list li, .tips-list li, .usp-grid li, .services-list li, .card {
    min-width: 120px;
    padding: 17px 12px 12px 14px;
    font-size: 0.99em;
  }
  .testimonial-card, .project-highlight {
    flex-direction: column;
    gap: 10px;
    padding: 13px 7px;
  }
  .footer-nav {
    gap: 10px;
  }
  .contact-info-block {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-modal-dialog {
    min-width: 90vw;
    padding: 25px 10px 16px 10px;
  }
  .footer-contact-info span {
    display: block;
    margin-bottom: 5px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 99vw;
  }
  .section {
    margin-bottom: 22px;
    padding: 13px 2px 15px 2px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 4px 16px 10px;
    font-size: .99em;
    border-radius: 14px 14px 0 0;
  }
}

/* ========== MICRO-INTERACTIONS ========== */
.primary-cta, .cookie-btn, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-modal .modal-close {
  transition: background .18s, color .18s, box-shadow .13s, transform .18s;
}
.primary-cta:active {
  transform: scale(.96);
  box-shadow: 0 0px 4px 0 rgba(175,159,99,0.12);
}
.main-nav a:active, .footer-nav a:active,
.mobile-nav a:active, .cookie-btn:active {
  color: #8C7C46;
  background: #fcf8ef;
}
.project-highlight:hover, .features-list li:hover, .usp-list li:hover, .services-list li:hover, .card:hover {
  box-shadow: 0 6px 30px 0 rgba(175,159,99,0.13);
  transform: translateY(-3px) scale(1.01);
  border-color: #AF9F63;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(108,146,113,0.08);
  border-left-color: #6C9271;
}

/* ========== PRINT FRIENDLY ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  main { margin: 0; }
  .section, .card, .project-highlight, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}
