@font-face{
  font-family:'PlayfairLocal';
  src: local('Playfair Display'), local('PlayfairDisplay-Regular');
  font-weight:400;
}

:root{
  --bg:#e8ddcf;
  --paper:#f7f2ea;
  --paper2:#fbf7f1;
  --text:#2a2a2a;
  --muted:#6b6b6b;
  --green:#3f5b2f;
  --greenBtn:#3f5530;
  --brown:#8a4a2b;
  --dark:#2f3f2a;
  --shadow: 0 10px 26px rgba(0,0,0,.14);
  --shadow2: 0 6px 16px rgba(0,0,0,.12);
  --max: 1100px;
}

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

body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Noto Sans","Helvetica Neue",Arial;
  color:var(--text);
  background: #e8ddcf url("img/paper_tile.png") repeat;
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 16px}

/* top bar */
.header{
  position:sticky;top:0;z-index:50;
  background: rgba(247,242,234,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(0,0,0,.08);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 0;
}
.brand{
  font-family: 'PlayfairLocal', Georgia, 'Times New Roman', Times, serif;
  font-weight:700;
  font-size:28px;
}
.menu{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end;
}
.menu a{font-size:14px;color:#333}
.menu a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(0,0,0,.25)}

.burger{
  width:34px;height:34px;border-radius:10px;
  border:1px solid rgba(0,0,0,.18);
  background:rgba(0,0,0,.06);
  display:none; /* visible en mobile via media query */
  align-items:center;justify-content:center;
  font-weight:900;color:#333;
  cursor:pointer;
}

/* hero */
.hero{
  margin-top:14px;
  border-radius:0;
  overflow:hidden;
  box-shadow:var(--shadow);
  position:relative;
  border:1px solid rgba(0,0,0,.14);
}
.hero img{position:relative;z-index:0;width:100%;height:520px;object-fit:cover;display:block}
.hero::after{
  z-index:1;
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,.06) 45%, rgba(0,0,0,.10));
}
.hero-content{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;color:#fff;padding:18px;
  z-index:2;
}
.hero h1{
  margin:0;
  font-family: 'PlayfairLocal', Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(46px, 5vw, 70px);
  text-shadow:0 12px 30px rgba(0,0,0,.35);
}
.hero .underline{
  width:min(520px, 74vw);
  height:2px;
  background:rgba(255,255,255,.75);
  margin:10px auto 14px auto;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
}
.hero p{
  margin:0 0 18px 0;
  font-size: clamp(16px, 2.2vw, 24px);
  text-shadow:0 12px 26px rgba(0,0,0,.35);
}

.hero-actions{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
.btn-big{
  min-width:320px;
  padding:16px 22px;
  border-radius:8px;
  border:2px solid rgba(255,255,255,.65);
  box-shadow:var(--shadow2);
  display:inline-flex;gap:12px;align-items:center;justify-content:center;
  font-weight:800;font-size:18px;
}
.btn-big img{width:26px;height:26px}
.btn-family{background:rgba(31,46,31,.70)}
.btn-pro{background:rgba(31,46,31,.70)}
.btn-big:hover{filter:brightness(1.03)}

.hero-actions2{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:14px}
.btn-small{
  padding:10px 16px;
  border-radius:8px;
  background:rgba(31,46,31,.70);
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  font-weight:800;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  font-size:14px;
}
.btn-small:hover{filter:brightness(1.05)}
.btn-small .arrow{margin-left:6px;opacity:.9}

/* sections */
.section{
  background: rgba(247,242,234,.92);
  border:1px solid rgba(0,0,0,.10);
  box-shadow:var(--shadow2);
  margin-top:18px;
}
.section-inner{padding:18px}

/* cards (autres pages) */
.cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.card{
  background: linear-gradient(var(--paper2), var(--paper));
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  padding:18px 18px 16px 18px;
  position:relative;
  min-height:210px;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute;right:-40px;bottom:-10px;
  width:460px;height:260px;
  background: url("img/trees.svg") no-repeat;
  background-size:contain;
  opacity:.9;
  pointer-events:none;
}
.card h2{
  margin:0;
  font-family: 'PlayfairLocal', Georgia, 'Times New Roman', Times, serif;
  font-size:26px;
  color:#374233;
  text-align:left;
}
.card .intro{margin:8px 0 10px 0;color:#434343;max-width:340px}
.checklist{margin:0;padding:0;list-style:none}
.checklist li{
  display:flex;gap:8px;align-items:flex-start;
  margin:8px 0;color:#3a3a3a;
}
.checklist li::before{
  content:"";
  width:18px;height:18px;flex:0 0 18px;
  background:url("img/icon_check.svg") no-repeat center/18px 18px;
  margin-top:1px;
}
.card .btn-row{margin-top:14px}

.btn-green{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 16px;
  border-radius:8px;
  background:var(--greenBtn);
  color:#fff;
  font-weight:900;
  box-shadow:0 5px 14px rgba(0,0,0,.18);
  border:1px solid rgba(0,0,0,.15);
  cursor:pointer;
}
.btn-green .arrow{margin-left:8px}
.btn-green:hover{filter:brightness(1.05)}

/* icon row */
.iconbar{
  display:flex;gap:28px;flex-wrap:wrap;align-items:center;justify-content:center;
  padding-top:12px;
}
.iconitem{display:flex;align-items:center;gap:12px}
.iconitem img{width:42px;height:42px}
.iconitem b{font-size:16px;color:#2e3b29}
.iconitem span{color:#5f5f5f;font-weight:600}

/* discover */
.discover-title{
  text-align:center;
  font-family: 'PlayfairLocal', Georgia, 'Times New Roman', Times, serif;
  font-size:40px;
  margin:0;
  color:#3a3a3a;
}
.discover-sub{
  text-align:center;
  margin:4px 0 14px 0;
  color:#6b6b6b;
  font-size:16px;
}
.discover-sub p{margin:0 0 6px 0}

/* gallery (autres pages) */
.gallery{
  position:relative;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 8px 20px rgba(0,0,0,.14);
  padding:10px;
}
.gallery-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
}
.gallery-grid img{
  width:100%;height:260px;object-fit:cover;display:block;
  border:1px solid rgba(0,0,0,.10);
}
.visit-btn{
  position:absolute;left:50%;bottom:14px;
  transform:translateX(-50%);
  background:rgba(31,46,31,.70);
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  font-weight:900;
  border:2px solid rgba(255,255,255,.65);
  box-shadow:0 8px 20px rgba(0,0,0,.20);
}

/* footer */
.footer{
  padding:22px 0 30px 0;
  color:#6b6b6b;
  font-size:13px;
}
.footer a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(63,91,47,.35)}

/* responsive général existant */
@media (max-width: 980px){
  .cards{grid-template-columns:1fr}
  .hero img{height:420px}
  .btn-big{min-width:260px}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-grid img{height:220px}
}

.card-familles{background:url("../img/card_familles.webp") center/cover no-repeat;}
.card-pros{background:url("../img/card_pros.webp") center/cover no-repeat;}
.card{background-blend-mode:multiply;}

/* figure caption */
.img-caption {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}
.img-caption img {
  width: 100%;
  height: auto;
  display: block;
}
.img-caption figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

/* =========================
   PAGE CONTACT (inchangé hors nettoyage doublons)
   ========================= */

.required{
  color:#c0392b;
  margin-left:2px;
  font-weight:700;
}

.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
  opacity:0;
}

.contact-wrap{display:grid;gap:16px;}

.contact-top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:stretch;
}

.contact-media{
  border-radius:16px;
  overflow:hidden;
  background: rgba(0,0,0,.02);
  display:flex;
}
.contact-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.contact-panel{
  background:#fff;
  border-radius:16px;
  padding:16px;
}

.contact-form{display:grid;gap:12px;}
.field{display:flex;flex-direction:column;gap:6px;}

.two-cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:10px 12px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius:12px;
  font:inherit;
  background:#fff;
}

.contact-bottom{
  background:#fff;
  border-radius:16px;
  padding:16px;
  display:grid;
  gap:12px;
}

.rgpd-inline{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
}
.rgpd-inline input{
  margin:0;
  transform: translateY(2px);
  flex:0 0 auto;
}
.rgpd-inline label{
  cursor:pointer;
  user-select:none;
  line-height:1.35;
}
.rgpd-link{
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color: rgba(63,91,47,.35);
}
.rgpd-link:hover{filter:brightness(1.05);}

.contact-note{
  margin:0;
  opacity:.88;
  font-size:.95rem;
}

/* actions alignées sur colonne droite + espace avec message */
.contact-top .actions-row{
  grid-column: 2;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
  margin-top:12px;
}

@media (max-width: 900px){
  .contact-top{grid-template-columns:1fr;}
  .two-cols{grid-template-columns:1fr;}
  .contact-top .actions-row{grid-column:1; justify-content:stretch;}
  .actions-row{flex-direction:column;align-items:stretch;}
  .actions-row .btn-green{width:100%;}
}

/* =========================
   RESPONSIVE SMARTPHONE (menu + hero)
   ========================= */

/* Mobile nav : burger + menu en panneau (ne casse pas le desktop) */
@media (max-width: 900px){
  .burger{display:flex;}

  /* On cache la nav en mode mobile par défaut */
  .menu{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:10px 0 2px 0;
  }
  .menu.is-open{display:flex;}

  .menu a{
    padding:10px 12px;
    border-radius:10px;
    background: rgba(0,0,0,.04);
    border:1px solid rgba(0,0,0,.06);
    font-size:15px;
  }

  /* Le header doit permettre au menu de passer en dessous */
  .nav{flex-wrap:wrap;}
  .brand{font-size:22px;}
}

.btn-big{font-size:15px;}
}


/* Très petits écrans (iPhone SE etc.) */
@media (max-width: 380px){
  .hero h1{font-size:42px;}
  .btn-big{font-size:15px;}
}

/* =========================
   MOBILE : masque le HERO (index) sur smartphone
   ========================= */
@media (max-width: 720px){
  .hero{ display:none; }
}
