:root {
  --cream: #fbf6eb;
  --cream-2: #f3eadc;
  --green: #1f3f26;
  --green-2: #2f5a36;
  --green-3: #6f815f;
  --brown: #b67b45;
  --text: #18251b;
  --muted: #657060;
  --line: rgba(31, 63, 38, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(52, 42, 25, 0.10);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1220px;
  --font: Inter, Avenir, Helvetica, Arial, sans-serif;
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* BOUTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--green);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 63, 38, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--white);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
}

/* HEADER */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 28px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 150px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-weight: 750;
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.mobile-menu {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
  font-size: 22px;
}

/* TITRES */

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  color: var(--green);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.04em;
  margin-bottom: 34px;
}

.leaf-accent::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  background: var(--green-2);
  border-radius: 80% 0 80% 0;
  transform: rotate(-18deg) translateY(2px);
}

.eyebrow {
  text-transform: uppercase;
  color: var(--brown);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}

/* HERO CONTACT */

.contact-hero {
  position: relative;
  padding: 170px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 45%, rgba(111, 129, 95, 0.16), transparent 24%),
    radial-gradient(circle at 90% 15%, rgba(182, 123, 69, 0.12), transparent 24%),
    linear-gradient(135deg, #fffaf0 0%, var(--cream) 48%, #f4eadb 100%);
}

.contact-hero::before {
  content: "";
  position: absolute;
  left: -95px;
  bottom: -80px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(111, 129, 95, 0.14);
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: 9%;
  top: 130px;
  width: 130px;
  height: 130px;
  border-radius: 80% 0 80% 0;
  background: rgba(47, 90, 54, 0.09);
  transform: rotate(-20deg);
}

.contact-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.contact-hero-content {
  max-width: 760px;
}

.contact-hero h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--green);
  font-weight: 950;
  margin-bottom: 24px;
}

.contact-hero-content > p:last-child {
  font-size: 20px;
  max-width: 690px;
  color: #26352a;
  font-weight: 560;
}

.contact-hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfe3c9;
  color: var(--green);
  font-size: 34px;
  margin-bottom: 22px;
}

.contact-hero-card h2 {
  color: var(--green);
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.contact-hero-card p {
  color: #29342b;
  font-weight: 600;
}

/* SECTION CONTACT */

.contact-section {
  padding: 70px 0 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(70, 54, 34, 0.08);
}

.main-contact-card {
  padding: 42px;
}

.main-contact-card h2,
.form-card h2 {
  color: var(--green);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.contact-intro {
  color: #29342b;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 30px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(31, 63, 38, 0.14);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-line:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 63, 38, 0.28);
  box-shadow: 0 16px 32px rgba(52, 42, 25, 0.08);
}

.contact-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfe3c9;
  font-size: 24px;
}

.contact-line strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  margin-bottom: 2px;
}

.contact-line small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

/* FORMULAIRE */

.form-card {
  padding: 42px;
}

.form-card > p {
  color: #29342b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(31, 63, 38, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(101, 112, 96, 0.78);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(31, 63, 38, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(31, 63, 38, 0.08);
}

.form-submit {
  width: fit-content;
  margin-top: 6px;
}

/* BLOCS D'AIDE */

.contact-blocks {
  padding: 34px 0 70px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  min-height: 245px;
  padding: 32px 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid #eadfce;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(92, 71, 43, 0.05);
}

.icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #dfe3c9;
  font-size: 28px;
  margin: 0 auto 18px;
}

.info-card h3 {
  color: var(--green);
  font-size: 20px;
  margin-bottom: 12px;
}

.info-card p {
  color: #28362b;
  font-size: 15px;
  font-weight: 600;
}

/* MESSAGE CTA */

.message-section {
  padding: 0 0 70px;
}

.message-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #eadfce;
  background:
    radial-gradient(circle at 92% 30%, rgba(111, 129, 95, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(244, 235, 218, 0.76));
  box-shadow: 0 18px 48px rgba(70, 54, 34, 0.08);
}

.message-card h2 {
  color: var(--green);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.message-card p {
  color: #29342b;
  max-width: 670px;
  font-weight: 620;
}

/* FOOTER */

.footer {
  background:
    radial-gradient(circle at 10% 20%, rgba(111, 129, 95, 0.35), transparent 28%),
    linear-gradient(135deg, #18331e, #244a2b);
  color: var(--white);
  padding: 46px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1fr;
  gap: 54px;
  padding-bottom: 32px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-img {
  width: 130px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 190px;
  font-weight: 650;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 48px;
}

.footer h3 {
  font-size: 17px;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* RESPONSIVE TABLETTE */

@media (max-width: 1050px) {
  .site-header {
    position: relative;
    background: var(--cream);
    padding: 18px 0;
  }

  .nav-links,
  .site-header .nav-cta {
    display: none;
  }

  .mobile-menu {
    display: grid;
    place-items: center;
  }

  .contact-hero {
    padding: 70px 0 60px;
  }

  .contact-hero-grid,
  .contact-grid,
  .cards-3,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-hero-content {
    grid-column: 1 / -1;
  }

  .message-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .logo-img {
    width: 120px;
  }

  .footer-brand .logo-img {
    width: 110px;
  }

  .contact-hero {
    padding: 54px 0 48px;
  }

  .contact-hero-grid,
  .contact-grid,
  .cards-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 42px;
  }

  .contact-hero-content > p:last-child {
    font-size: 17px;
  }

  .main-contact-card,
  .form-card,
  .message-card {
    padding: 28px 22px;
  }

  .contact-line {
    align-items: flex-start;
    padding: 18px;
  }

  .contact-line small {
    word-break: break-word;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit,
  .message-card .btn {
    width: 100%;
  }

  .footer-col {
    border-left: 0;
    padding-left: 0;
  }
}

.socials img {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}