*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Lato", sans-serif; background: #F5F0E8; color: #2C2416; line-height: 1.6; }

/* === HEADER === */
header {
  background: #4A7C59;
  padding: 0 44px;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.logo {
  font-family: "Playfair Display", serif; font-size: 27px; color: #E8C547; font-weight: 700;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.logo span { color: #fff; }
nav { display: flex; gap: 4px; }
nav a {
  color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14px; font-weight: 700;
  padding: 8px 14px; border-radius: 22px; transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
nav a:hover, nav a.active { background: rgba(255,255,255,0.15); color: #E8C547; }
.search-btn {
  background: #E8C547; border: none; color: #2C2416;
  padding: 9px 20px; border-radius: 22px; font-weight: 700; font-size: 13px; cursor: pointer;
  font-family: "Lato", sans-serif;
}

/* === HERO === */
.hero {
  padding: 64px 44px; min-height: 440px;
  background: linear-gradient(135deg, #f0ebe0 0%, #e4f0e8 45%, #f5ede0 100%);
  display: flex; align-items: center; gap: 64px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,124,89,0.12) 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: 40%; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(193,127,62,0.1) 0%, transparent 70%);
}
.hero-content { flex: 1; position: relative; z-index: 2; }
.hero-welcome {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,124,89,0.1); border: 2px solid rgba(74,124,89,0.2);
  border-radius: 24px; padding: 7px 16px;
  font-size: 13px; font-weight: 700; color: #4A7C59; margin-bottom: 20px;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 46px; line-height: 1.18; color: #2C2416; margin-bottom: 16px;
}
.hero h1 em { color: #4A7C59; font-style: normal; }
.hero p { font-size: 17px; color: #7a6a54; line-height: 1.65; margin-bottom: 32px; max-width: 500px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: #4A7C59; color: #fff; padding: 14px 32px; border-radius: 32px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(74,124,89,0.3); transition: transform 0.2s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: #fff; color: #4A7C59; padding: 14px 32px; border-radius: 32px;
  font-weight: 700; font-size: 15px; border: 2px solid #4A7C59; text-decoration: none; display: inline-block;
}
.hero-img {
  flex: 0 0 400px; height: 340px; border-radius: 40px; overflow: hidden;
  background: linear-gradient(135deg, #a5c8a8, #6aaa72, #3d7a45);
  position: relative; z-index: 2;
  box-shadow: 0 24px 64px rgba(74,124,89,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 160px;
}

/* === TRUST BAR === */
.trust { background: #4A7C59; padding: 28px 44px; display: flex; justify-content: center; gap: 80px; }
.trust-item { text-align: center; }
.trust-item .num { font-family: "Playfair Display", serif; font-size: 32px; color: #E8C547; font-weight: 700; }
.trust-item .lbl { font-size: 12px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* === SECTIONS === */
.section { padding: 60px 44px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,124,89,0.1); color: #4A7C59; border-radius: 20px;
  padding: 6px 16px; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-family: "Playfair Display", serif; font-size: 32px; color: #2C2416; margin-bottom: 8px; }
.section-sub { font-size: 15px; color: #9a8a74; margin-bottom: 36px; }

/* === PARCOURS CARDS === */
.parcours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.parcours-card {
  background: #fff; border-radius: 24px; padding: 32px;
  border: 2px solid #ede8e0; cursor: pointer;
  transition: all 0.25s; box-shadow: 0 2px 10px rgba(44,36,22,0.05);
}
.parcours-card:hover { border-color: #4A7C59; transform: translateY(-4px); box-shadow: 0 8px 28px rgba(74,124,89,0.14); }
.parcours-icon { font-size: 48px; margin-bottom: 14px; }
.parcours-count {
  display: inline-block; background: #F5F0E8; color: #C17F3E;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-bottom: 12px;
}
.parcours-card h3 { font-family: "Playfair Display", serif; font-size: 20px; color: #2C2416; margin-bottom: 8px; }
.parcours-card p { font-size: 14px; color: #9a8a74; line-height: 1.6; margin-bottom: 16px; }
.parcours-link { color: #4A7C59; font-weight: 700; font-size: 14px; text-decoration: none; }

/* === ARTICLES GRID === */
.ed-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.see-all { color: #C17F3E; font-weight: 700; text-decoration: none; font-size: 14px; }
.ed-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.art { border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform 0.2s; background: #fff; box-shadow: 0 2px 10px rgba(44,36,22,0.06); text-decoration: none; display: block; }
.art:hover { transform: scale(1.01); }
.art-img { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.art-img .emoji { font-size: 72px; position: relative; z-index: 2; }
.art-1 .art-img { height: 360px; background: linear-gradient(135deg, #8BC34A, #4CAF50, #2E7D32); }
.art-2 .art-img { height: 170px; background: linear-gradient(135deg, #FFCC80, #FFA726, #E65100); }
.art-3 .art-img { height: 170px; background: linear-gradient(135deg, #CE93D8, #AB47BC, #6A1B9A); }
.art-4 .art-img { height: 170px; background: linear-gradient(135deg, #80DEEA, #26C6DA, #00838F); }
.art-5 .art-img { height: 170px; background: linear-gradient(135deg, #FFAB91, #FF7043, #BF360C); }
.art-1 { grid-row: span 2; }
.art-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #C17F3E; margin-bottom: 6px; }
.art-content { padding: 16px 18px 18px; }
.art h3 { font-family: "Playfair Display", serif; font-size: 16px; color: #2C2416; line-height: 1.35; margin-bottom: 4px; }
.art p { font-size: 12px; color: #9a8a74; line-height: 1.5; }
.art-1 .art-content { padding: 20px 22px 22px; }
.art-1 h3 { font-size: 22px; margin-bottom: 8px; }
.art-1 p { font-size: 14px; }

/* === RECIPE CARDS === */
.recipes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.recipe-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 2px solid #ede8e0; transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(44,36,22,0.05);
}
.recipe-card:hover { border-color: #4A7C59; transform: translateY(-4px); box-shadow: 0 8px 28px rgba(74,124,89,0.14); }
.recipe-card a { text-decoration: none; color: inherit; }
.recipe-img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.recipe-img.dessert { background: linear-gradient(135deg, #FFCC80, #FFA726, #E65100); }
.recipe-img.pain { background: linear-gradient(135deg, #8D6E63, #6D4C41, #4E342E); }
.recipe-img.plat { background: linear-gradient(135deg, #81C784, #66BB6A, #43A047); }
.recipe-content { padding: 20px; }
.recipe-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 12px; color: #9a8a74; }
.recipe-card h3 { font-family: "Playfair Display", serif; font-size: 18px; color: #2C2416; margin-bottom: 8px; }
.recipe-card .desc { font-size: 13px; color: #7a6a54; line-height: 1.5; }

/* === TEMOIGNAGES === */
.temo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.temo {
  background: #fff; border-radius: 20px; padding: 24px;
  border: 2px solid #ede8e0; box-shadow: 0 2px 10px rgba(44,36,22,0.04);
}
.temo-stars { color: #E8C547; font-size: 14px; margin-bottom: 12px; }
.temo p { font-size: 14px; color: #7a6a54; line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.temo-author { display: flex; align-items: center; gap: 10px; }
.temo-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ta-1 { background: linear-gradient(135deg, #C17F3E, #d4944e); }
.ta-2 { background: linear-gradient(135deg, #4A7C59, #5a9470); }
.ta-3 { background: linear-gradient(135deg, #E8C547, #f0d060); }
.temo-name { font-family: "Playfair Display", serif; font-size: 14px; font-weight: 700; color: #2C2416; }
.temo-detail { font-size: 12px; color: #b0a090; }

/* === NEWSLETTER === */
.newsletter {
  margin: 0 44px 60px; border-radius: 32px; padding: 56px 48px;
  background: linear-gradient(135deg, #4A7C59, #2d5a3d);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(232,197,71,0.1);
}
.nl-icon { font-size: 48px; margin-bottom: 16px; position: relative; z-index: 2; }
.newsletter h2 { font-family: "Playfair Display", serif; font-size: 32px; margin-bottom: 8px; position: relative; z-index: 2; }
.newsletter p { font-size: 16px; opacity: 0.88; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.nl-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto 14px; position: relative; z-index: 2; }
.nl-form input { flex: 1; padding: 14px 20px; border-radius: 28px; border: none; font-size: 14px; font-family: "Lato", sans-serif; }
.nl-form button { background: #E8C547; color: #2C2416; padding: 14px 24px; border-radius: 28px; border: none; font-family: "Lato", sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.nl-reassurance { font-size: 12px; opacity: 0.65; position: relative; z-index: 2; }

/* === FOOTER === */
footer { background: #2C2416; color: rgba(255,255,255,0.5); padding: 44px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 36px; flex-wrap: wrap; }
.footer-brand .logo { font-family: "Playfair Display", serif; font-size: 22px; color: #E8C547; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 8px; max-width: 240px; line-height: 1.55; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.footer-col a { display: block; color: rgba(255,255,255,0.38); text-decoration: none; font-size: 13px; margin-bottom: 6px; }
.footer-col a:hover { color: #E8C547; }
.footer-ressources { background: rgba(74,124,89,0.2); border-radius: 14px; padding: 18px 20px; }
.footer-ressources h4 { color: #a0c8a8; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.footer-ressources p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-links { display: flex; gap: 20px; }

/* === PAGE CONTENT === */
.page-hero {
  background: linear-gradient(135deg, #4A7C59, #2d5a3d);
  padding: 60px 44px; text-align: center; color: #fff;
}
.page-hero h1 { font-family: "Playfair Display", serif; font-size: 42px; margin-bottom: 16px; }
.page-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.page-content { max-width: 900px; margin: 0 auto; padding: 60px 44px; }
.page-content h2 { font-family: "Playfair Display", serif; font-size: 28px; color: #4A7C59; margin: 40px 0 16px; }
.page-content h3 { font-family: "Playfair Display", serif; font-size: 22px; color: #2C2416; margin: 32px 0 12px; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content ul, .page-content ol { margin: 16px 0; padding-left: 24px; }
.page-content li { margin-bottom: 8px; line-height: 1.7; }

/* === RECIPE PAGE === */
.recipe-hero { padding: 60px 44px; display: flex; gap: 48px; align-items: flex-start; }
.recipe-hero-img { flex: 0 0 400px; height: 350px; border-radius: 32px; display: flex; align-items: center; justify-content: center; font-size: 140px; }
.recipe-hero-content { flex: 1; }
.recipe-hero h1 { font-family: "Playfair Display", serif; font-size: 38px; color: #2C2416; margin-bottom: 16px; }
.recipe-hero .desc { font-size: 16px; color: #7a6a54; line-height: 1.7; margin-bottom: 24px; }
.recipe-info { display: flex; gap: 32px; margin-bottom: 24px; }
.recipe-info-item { text-align: center; }
.recipe-info-item .icon { font-size: 28px; margin-bottom: 4px; }
.recipe-info-item .label { font-size: 12px; color: #9a8a74; text-transform: uppercase; letter-spacing: 1px; }
.recipe-info-item .value { font-weight: 700; color: #2C2416; }
.recipe-body { max-width: 900px; margin: 0 auto; padding: 0 44px 60px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.ingredients-box { background: #fff; border-radius: 20px; padding: 28px; border: 2px solid #ede8e0; height: fit-content; position: sticky; top: 90px; }
.ingredients-box h3 { font-family: "Playfair Display", serif; font-size: 20px; color: #4A7C59; margin-bottom: 20px; }
.ingredients-box ul { list-style: none; }
.ingredients-box li { padding: 10px 0; border-bottom: 1px solid #ede8e0; font-size: 15px; }
.ingredients-box li:last-child { border-bottom: none; }
.steps h3 { font-family: "Playfair Display", serif; font-size: 24px; color: #4A7C59; margin-bottom: 24px; }
.step { display: flex; gap: 20px; margin-bottom: 24px; }
.step-num { flex: 0 0 40px; height: 40px; background: #4A7C59; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.step-content { flex: 1; font-size: 15px; line-height: 1.7; padding-top: 8px; }
.tips-box { background: rgba(232,197,71,0.15); border-radius: 16px; padding: 24px; margin-top: 32px; border-left: 4px solid #E8C547; }
.tips-box h4 { font-family: "Playfair Display", serif; font-size: 18px; color: #C17F3E; margin-bottom: 12px; }
.tips-box p { font-size: 14px; color: #7a6a54; line-height: 1.7; margin: 0; }

/* === LEGAL === */
.legal-content { padding: 60px 44px; text-align: center; }
.legal-content img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-img { flex: none; width: 100%; max-width: 400px; height: 280px; }
  .parcours-grid, .temo-grid { grid-template-columns: 1fr; }
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .art-1 { grid-row: auto; grid-column: span 2; }
  .recipe-hero { flex-direction: column; }
  .recipe-hero-img { width: 100%; flex: none; }
  .recipe-body { grid-template-columns: 1fr; }
  .ingredients-box { position: static; }
  .trust { flex-wrap: wrap; gap: 40px; }
  header { padding: 0 20px; }
  nav { display: none; }
  .section { padding: 40px 20px; }
}

/* Carrousel headlines */
.hero-headline-wrap { position: relative; min-height: 110px; margin-bottom: 12px; overflow: hidden; }
.hero-headline-wrap h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px; line-height: 1.18; color: #2C2416;
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    margin: 0;
}
.hero-headline-wrap h1.active { opacity: 1; transform: translateY(0); }
.hero-headline-wrap h1 em { color: #4A7C59; font-style: normal; }
.headline-dots { display: flex; gap: 7px; margin-bottom: 14px; }
.hdot { width: 8px; height: 8px; border-radius: 50%; background: #c8bca8; cursor: pointer; transition: all 0.3s; }
.hdot.active { background: #4A7C59; width: 22px; border-radius: 4px; }
.hero-sub { font-size: 17px; color: #7a6a54; line-height: 1.65; margin-bottom: 32px; max-width: 480px; }
