@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root{
  --primary-color: #425203;
  --text-color: #343434;
  --accent-magenta: #425203;
  --bg-dark: #262626;
  --color-white: #ffffff;
  --color-gray: rgba(51,51,51,0.95);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  --font-alt: 'Roboto', sans-serif;
  --header-height: 72px;
  --header-height-mobile: 60px;
  --z-header: 1100;
  --feature-gap: 24px;
  --feature-icon-size: 120px;
  --feature-icon-scale: 0.7;
  --feature-title-size: 20px;
  --feature-desc-size: 20px;
  --news-width: 80%;
  --news-max-width: 1320px;
  --news-gap: 24px;
}

/* Correction ancre sous le header fixe */
html { scroll-padding-top: 72px; }
@media (max-width: 767px) {
  html { scroll-padding-top: 60px; }
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body{
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }
.container::after { content: ""; display: block; clear: both; }

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: var(--z-header);
  background: rgba(66,82,3,0.70);
  backdrop-filter: blur(0px);
}
header .content{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo { display: inline-block; max-height: 56px; }
.logo img{ max-height: 56px; width: auto; display: block; }
.hamburger { display: none; background: none; border: 0; font-size: 22px; color: var(--text-color); cursor: pointer; }

nav { display: block; }
nav .links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  position: relative;
  gap: 0;
}
nav .links > li {
  position: relative;
  margin-right: 18px;
}
nav .links > li:last-child { margin-right: 0; }
nav .links > li > a {
  display: inline-block;
  padding: 10px 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-family: 'Roboto', sans-serif;
  font-weight: bold; /* Roboto gras */
}
nav .links .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 6px 0;
  z-index: 9999;
  border-radius: 4px;
}
nav .links .submenu li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-color);
  white-space: nowrap;
  text-decoration: none;
}
nav .links > li.has-submenu > a::after {
  content: " ▾";
  font-size: 12px;
  margin-left: 6px;
  opacity: .85;
}
@media (min-width: 768px) {
  nav .links > li.has-submenu:hover > .submenu,
  nav .links > li.has-submenu:focus-within > .submenu {
    display: block;
  }
}
@media (max-width: 767px) {
  :root { --header-height: var(--header-height-mobile); }

  /* Burger button fixed en haut à droite */
  .hamburger {
    display: inline-block;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: calc(var(--z-header) + 200);
    background: none;
    border: 0;
    font-size: 28px;
    color: var(--color-white);
    cursor: pointer;
    padding: 6px;
  }
  nav .links {
    flex-direction: column;
    gap: 12px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 75%;
    max-width: 360px;
    background: var(--color-gray);
    padding: calc(var(--header-height) + 20px) 20px 20px 20px;
    transform: translateX(110%);
    transition: transform 300ms ease;
    z-index: calc(var(--z-header) + 50);
    overflow-y: auto;
  }
  nav .links.open { transform: translateX(0); }
  nav .links > li {
    margin-right: 0;
    width: 100%;
  }
  nav .links > li > a {
    color: var(--color-white);
    font-size: 18px;
    padding: 12px 8px;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
  }
  nav .links .submenu {
    position: static;
    top: auto; left: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: none;
    z-index: 1;
  }
  nav .links .submenu li a { padding: 8px 12px; color: var(--color-white); }
  nav .links li.open > .submenu { display: block; }
  nav .links > li.has-submenu > a::after {
    content: " ▸";
    float: right;
  }
}

a {
    color: var(--text-color); /* même couleur que ton texte */
    text-decoration: underline; /* souligné */
}

.welcome {
  background-image: url('../img/verointro.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  width: 100%;
  height: calc(100vh + 40px);
  display: block;
}
@media (max-width: 900px) {
  .welcome { height: 65vw; max-height: 460px; }
}
@media (max-width: 700px) {
  .welcome { height: 55vw; min-height: 180px; max-height: 380px; background-size: contain; background-position: top center; }
}
@media (max-width: 400px) {
  .welcome { height: 44vw; min-height: 110px; }
}

.news-two-col {
  width: var(--news-width);
  max-width: var(--news-max-width);
  margin: 24px auto;
  padding: 0;
  position: relative;
  z-index: 1;
}
.news-two-col .news-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--news-gap);
  align-items: flex-start;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}
/* FOND DE SECTION EN DESSOUS DES COLONNES */
#presentation.news-two-col.container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 80%;
  height: 100%;
  max-width: var(--news-max-width);
  transform: translateX(-50%);
  background: url('img/fond1.png') center center/cover no-repeat;
  opacity: 0.16;
  border-radius: 18px;
  z-index: 0;
  pointer-events: none;
}
#presentation .news-grid,
#presentation .news-grid > * {
  position: relative;
  z-index: 2;
  background: none;
}

.news-two-col .news-image {
  display: block;
  align-self: flex-start;
}
.news-two-col .news-image img { width: 100%; height: auto; object-fit: contain; padding-top: 20px;}
.news-two-col .news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 8px 0;
}
.news-two-col .news-content .titre,
.news-two-col .news-content .soustitre {
  text-align: left;
}
@media (max-width: 900px) {
  .news-two-col { width: 94%; margin: 16px auto; }
  .news-two-col .news-grid { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .news-two-col .news-content { justify-content: flex-start; }
  .news-two-col .news-image img { max-height: 50vh; object-position: center; }
}

.section-features { padding: 32px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--feature-gap);
  align-items: start;
}
@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
}
.feature-item .icon-circle {
  width: var(--feature-icon-size);
  height: var(--feature-icon-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid var(--accent-magenta);
  margin-bottom: 8px;
  background: transparent;
  box-sizing: border-box;
}
.feature-item .icon-circle img {
  width: calc(var(--feature-icon-size) * var(--feature-icon-scale));
  height: auto;
  display: block;
  max-width: 100%;
}
.feature-item .item-title {
  font-family: var(--font-title);
  font-size: var(--feature-title-size);
  color: var(--text-color);
  margin: 0 0 6px;
  font-weight: 600;
}
.feature-item .item-desc {
  font-family: var(--font-alt);
  font-size: var(--feature-desc-size);
  color: var(--text-color);
  margin: 0;
  line-height: 1.45;
}

/* TITRES ET SOUS-TITRES */
.titre, h1, h3, .soustitre {
  font-family: 'Playfair Display', serif;
  color: #343434;
}
.titre, h1, h3 {
  font-weight: 400;
  font-size: 35px;
  text-align: center;
  line-height: 1.05;
  margin: 0;
  padding: 20px 0;
}
/* h2 en Open Sans Gras 25px */
h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: #343434;
  text-align: left;
  line-height: 1.1;
  margin: 0;
  padding: 15px 0;
}
.soustitre {
  font-size: 22px;
  text-align: center;
  padding: 6px 0;
  font-weight: 400;
}
.news-two-col .news-content .titre,
.news-two-col .news-content .soustitre {
  text-align: left;
}

.news-texte-seule {
  width: 80%;
  max-width: 900px;
  margin: 40px auto 32px auto;
  padding: 0;
}
.news-texte-seule .titre {
  text-align: center;
}
.news-texte-uniquement {
  text-align: left;
  font-size: 20px;
  color: var(--text-color);
  font-family: var(--font-alt, 'Roboto', sans-serif);
  line-height: 1.6;
}
.news-texte-uniquement p { text-align: left; margin-bottom: 1.2em; }
.news-texte-uniquement h3 {
  margin-top: 1.5em;
  font-size: 1.25em;
  color: #343434;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

@media (max-width: 700px) {
  .news-texte-seule { width: 96%; padding: 0 2vw; }
}

/* Formulaire de contact */
.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 24px 23px 18px;
  box-shadow: 0 3px 10px rgba(60, 0, 30, 0.07);
  gap: 14px;
}
.contact-form label {
  font-size: 17px;
  font-family: 'Playfair Display', serif;
  color: #343434;
  font-weight: 500;
  margin-bottom: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="password"],
.contact-form textarea {
  width: 100%;
  font-size: 17px;
  font-family: var(--font-alt);
  color: #222;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 10px 10px 9px 10px;
  margin-bottom: 8px;
  background: #fafafd;
  box-sizing: border-box;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--primary-color);
  outline: none;
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form button[type="submit"] {
  background: var(--primary-color);
  color: #fff;
  font-size: 19px;
  font-family: var(--font-title);
  border: none;
  border-radius: 4px;
  padding: 12px 0 10px 0;
  margin-top: 10px;
  cursor: pointer;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 2.5px 15px rgba(60, 0, 30, 0.08);
  transition: background 0.22s, box-shadow 0.25s;
}
.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
  background: #9c2713;
  box-shadow: 0 6px 25px rgba(60,0,30,0.12);
}
.form-infos {
  text-align: center;
}

section p {
  font-family: var(--font-alt);
  font-weight: 300;
  font-size: 20px;
  color: var(--text-color);
  line-height: 1.5;
}

.separator { border: none; border-top: 1px solid rgba(0,0,0,0.12); margin: 2rem 0; }
footer { background: var(--bg-dark); padding: 20px 0; }
footer .copyright { color: var(--text-color); font-size: 16px; text-align: center; }

@media (max-width: 767px) {
  nav .links li a { text-decoration: none; }
  .logo img { max-height: 48px; }
  .contact-form { padding: 14px 2vw; }
}