/* ==========================================================================
   AXYA — feuille de style principale
   Palette : vert forêt profond, bordeaux, or, crème.
   Titres en serif (Fraunces) pour un rendu haut de gamme, corps en Jost.
   Polices auto-hébergées (fonts/) plutôt que chargées depuis Google Fonts,
   pour éviter le transfert de l'IP du visiteur vers des serveurs tiers (RGPD).
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/fraunces-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jost.woff2') format('woff2');
}

:root {
  --green: #16332c;
  --green-dark: #0c211b;
  --burgundy: #542120;
  --gold: #c6a05f;
  --gold-light: #e2c88f;
  --cream: #f4efe4;
  --cream-dark: #e8e0cd;
  --text-dark: #22302a;
  --text-muted: #55625a;
  --text-light: #f6f1e6;
  --radius: 14px;
  --max-width: 1160px;
  --shadow: 0 20px 45px rgba(12, 33, 27, 0.14);
  --shadow-soft: 0 8px 20px rgba(12, 33, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Jost", Georgia, serif;
  font-weight: 500;
  line-height: 1.16;
  margin: 0 0 18px;
  color: var(--green-dark);
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  letter-spacing: -0.5px;
  font-weight: 480;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.2px;
  font-weight: 480;
}

h2.label-style {
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 500;
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.section-dark p,
.hero p,
.page-hero p,
.cta-banner p {
  color: inherit;
  opacity: 0.88;
}

/* Les titres héritent d'un vert foncé par défaut (pensé pour fond clair) ;
   on les repasse explicitement en clair dans les sections à fond sombre. */
.hero h1,
.hero h2,
.page-hero h1,
.page-hero h2,
.section-dark .section-head h2,
.section-dark > .container > h2 {
  color: var(--text-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 0 28px;
}

.rule.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn::after {
  content: "→";
  transition: transform 0.2s ease;
}

.btn:hover::after {
  transform: translateX(3px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border-color: rgba(246, 241, 230, 0.5);
  color: var(--text-light);
}

.btn-outline:hover {
  background: rgba(244, 240, 230, 0.12);
  border-color: var(--text-light);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--text-light);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

/* ---------- En-tête / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--burgundy);
  color: var(--text-light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header .logo {
  color: var(--text-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav ul a {
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.82;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.main-nav ul a:hover,
.main-nav ul a[aria-current="page"] {
  opacity: 1;
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Héro ---------- */

.hero {
  background:
    radial-gradient(circle at 82% -10%, rgba(198, 160, 95, 0.16), transparent 55%),
    linear-gradient(165deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--text-light);
  padding: 120px 0 130px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
}

.hero-inner {
  max-width: 660px;
}

.hero p.lead {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  max-width: 520px;
  opacity: 1;
}

.page-hero {
  background:
    radial-gradient(circle at 82% -10%, rgba(198, 160, 95, 0.16), transparent 55%),
    linear-gradient(165deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--text-light);
  padding: 90px 0;
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
  color: var(--gold-light);
}

.page-hero .eyebrow::before {
  display: none;
}

/* ---------- Sections génériques ---------- */

section {
  padding: 100px 0;
}

.section-alt {
  background: var(--cream-dark);
}

.section-dark {
  background: var(--green);
  color: var(--text-light);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head .eyebrow::before {
  display: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---------- Cartes de services ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--cream);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(198, 160, 95, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--green);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(198, 160, 95, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--burgundy);
}

.card .num {
  display: inline-block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 6px;
}

/* ---------- Bandeau de valeurs ---------- */

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.value-strip .value-item {
  padding: 0 10px;
}

.value-strip .icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(198, 160, 95, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.value-strip .icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-light);
}

.value-strip h3 {
  color: var(--text-light);
  font-size: 1.1rem;
}

.value-strip p {
  font-size: 0.92rem;
}

/* ---------- Bannière CTA ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--text-light);
  text-align: center;
  padding: 74px 0;
}

.cta-banner h2 {
  color: var(--text-light);
  margin-bottom: 26px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 22px;
  margin-bottom: 10px;
}

.option-card {
  background: var(--cream);
  border: 1px solid rgba(198, 160, 95, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.option-card h3 {
  color: var(--green);
  margin-bottom: 8px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid #cfc6ad;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 160, 95, 0.2);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.form-status {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.form-status.success {
  background: #dcece2;
  color: #1e5330;
}

.form-status.error {
  background: #f4dede;
  color: #7a2222;
}

/* ---------- Placeholder témoignages ---------- */

.placeholder-block {
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius);
  padding: 56px 36px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--cream);
}

.placeholder-block .tri-mark {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Note en étoiles (formulaire d'avis) ---------- */

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating label {
  font-size: 2rem;
  line-height: 1;
  color: #cfc6ad;
  cursor: pointer;
  transition: color 0.15s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--gold);
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--burgundy);
  color: var(--text-light);
  padding: 56px 0 32px;
}

.site-footer p {
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-grid h4 {
  color: var(--gold-light);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 9px;
}

.footer-grid a {
  text-decoration: none;
  opacity: 0.82;
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 240, 230, 0.14);
  padding-top: 22px;
  font-size: 0.85rem;
  opacity: 0.65;
  text-align: center;
}

/* ---------- Apparition douce au défilement ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .card-grid,
  .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 70px 0;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 18px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav-toggle {
    display: block;
  }
}
