/* Pays d'Aubel — proposition de mise en page HTML/CSS
   Les images sont à remplacer par les visuels originaux du client. */
:root {
  --green: #287a45;
  --green-dark: #176235;
  --red: #e6003c;
  --ink: #45494a;
  --muted: #656b68;
  --paper: #fbfaf7;
  --content-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }

/* Hero pleine largeur : photo + panneau vert */
.hero {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 390px;
  width: 100%;
  overflow: hidden;
  background: var(--green);
}
.hero__photo { min-width: 0; min-height: 390px; }
.hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}
.hero__content {
  position: relative;
  display: flex;
  align-items: center;
  padding: 48px clamp(30px, 5vw, 76px) 48px 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}
/*.hero__content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -48px;
  width: 90px;
  background: var(--green-dark);
  clip-path: polygon(55% 0, 100% 0, 45% 100%, 0 100%);
  opacity: .45;
}*/
.hero__content-inner { position: relative; max-width: 510px; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(25px, 2.1vw, 30px);
  line-height: 1.2;
  font-weight: 700;
}
.hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 16px;
  background: #dce9d8;
}
.hero p { margin: 0 0 13px; font-size: 16px; line-height: 1.55; }

/* Slogan */


.tagline {
    background: #f9f7f0;
    padding: 30px 20px 30px;
    text-align: center;
}

.tagline h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #47865b;
    text-align: center;
}


/* Zone producteurs : largeur maximale de 1024 px */
.producers {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 48px 0 54px;
}
.producer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.producer-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(31, 55, 38, .09);
}
.producer-card__visual {
  height: 140px;
  margin: 12px 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}
.producer-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}
.producer-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 20px 20px;
}
.producer-card h2 {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}
.producer-card h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 10px;
  background: #70a77c;
}
.producer-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.producer-card p strong { color: #424944; font-weight: 700; }
.button {
  display: inline-block;
  margin-top: auto;
  padding: 9px 22px;
  border-radius: 30px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.button:hover, .button:focus-visible {
  color: #fff;
  background: #c90035;
  transform: translateY(-1px);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Photo de conclusion et footer pleine largeur */
.landscape { width: 100%; height: clamp(230px, 26vw, 360px); overflow: hidden; }
.landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.site-footer {
  min-height: 34px;
  padding: 8px max(24px, calc((100% - var(--content-width)) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: #202020;
  font-size: 11px;
}
.footer-mark { color: #d4df35; font-weight: 700; }

/* Tablette */
@media (max-width: 900px) {
  .hero { grid-template-columns: 52% 48%; min-height: 350px; }
  .hero__photo, .hero__photo img { min-height: 350px; }
  .hero__content { padding: 34px 28px 34px 35px; }
  .hero p { font-size: 14px; }
  .producer-grid { gap: 18px; }
  .producer-card__visual { height: 112px; }
  .producer-card__body { padding: 15px 16px 18px; }
  .producer-card h2 { font-size: 20px; }
  .producer-card p { font-size: 14px; }
}

/* Mobile */
@media (max-width: 640px) {
  .hero { display: flex; flex-direction: column; }
  .hero__photo, .hero__photo img {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .hero__content { padding: 30px 24px 32px; }
  .hero__content::before { display: none; }
  .hero h1 { font-size: 26px; margin-bottom: 17px; }
  .hero p { font-size: 14px; }
  .tagline h2 { font-size: 28px; }
  .producers { width: min(calc(100% - 32px), 500px); padding: 30px 0 36px; }
  .producer-grid { grid-template-columns: 1fr; gap: 20px; }
  .producer-card__visual { height: 125px; }
  .producer-card__body { padding: 16px 18px 20px; }
  .producer-card h2 { font-size: 21px; }
  .producer-card p { font-size: 14px; }
  .landscape { height: 210px; }
  .site-footer { padding: 9px 16px; font-size: 10px; }
}
