/* ============================= */
/* VARIABLES GLOBALES            */
/* ============================= */
:root {
  --vert:        #2D7D5A;
  --vert-dark:   #1F6347;
  --vert-light:  #EDF6F1;
  --charcoal:    #222222;
  --slate:       #484848;
  --stone:       #717171;
  --mist:        #B0B0B0;
  --border:      #EBEBEB;
  --off-white:   #F7F7F7;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md:   0 6px 20px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:   0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-xl:   24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================= */
/* REVEAL                        */
/* ============================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

/* ============================= */
/* NAVBAR                        */
/* ============================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-left a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vert);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-right {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-right a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-right a:hover {
  background: var(--off-white);
  color: var(--charcoal);
}

/* ============================= */
/* HERO CONTACT                  */
/* ============================= */
.hero-contact {
  min-height: 44vh;
  background: var(--white);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-contact::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,125,90,0.07) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  padding: 0 8%;
  max-width: 680px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 16px;
}

.hero-contact h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--charcoal);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-sub {
  color: var(--stone);
  font-size: 1rem;
  font-weight: 400;
  max-width: 460px;
  line-height: 1.8;
}

/* ============================= */
/* FORMULAIRE & LAYOUT           */
/* ============================= */
.page-section {
  padding: 72px 0 80px;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 30px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  margin-bottom: 8px;
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--vert);
  margin-top: 10px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.intro-text {
  color: var(--stone);
  margin-bottom: 36px;
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form {
  background: var(--white);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  font-family: 'Nunito', 'DM Sans', sans-serif;
  font-size: 0.925rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--off-white);
  color: var(--charcoal);
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vert);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 125, 90, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ============================= */
/* COUNTRY SEARCH                */
/* ============================= */
.country-wrapper {
  position: relative;
}

.country-search-input {
  width: 100%;
  padding: 13px 40px 13px 18px;
  font-family: 'Nunito', 'DM Sans', sans-serif;
  font-size: 0.925rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--charcoal);
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.country-search-input:focus {
  outline: none;
  border-color: var(--vert);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 125, 90, 0.08);
}

.country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  z-index: 50;
  padding: 4px 0;
}

.country-dropdown.open { display: block; }

.country-dropdown li {
  padding: 10px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--charcoal);
  transition: background 0.15s;
  font-weight: 400;
}

.country-dropdown li:hover,
.country-dropdown li.active {
  background: var(--off-white);
  color: var(--vert);
}

.country-dropdown li.no-result {
  color: var(--stone);
  cursor: default;
  font-style: italic;
}

.country-dropdown li.no-result:hover { background: transparent; }

/* ============================= */
/* REQUIRED INDICATOR            */
/* ============================= */
.required {
  color: var(--vert);
  margin-left: 2px;
}

/* ============================= */
/* SUBMIT BUTTON                 */
/* ============================= */
.btn-submit {
  display: inline-block;
  background: var(--vert);
  color: var(--white);
  padding: 15px 36px;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(45,125,90,0.35);
  width: 100%;
}

.btn-submit:hover:not(:disabled) {
  background: var(--vert-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,125,90,0.45);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ============================= */
/* FOOTER                        */
/* ============================= */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.85rem;
  font-weight: 400;
}

footer strong {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

footer p {
  margin-bottom: 6px;
  color: rgba(255,255,255,0.6);
}

footer .muted {
  font-size: 0.78rem;
  margin-top: 6px;
  opacity: 0.4;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media (min-width: 768px) {
  .btn-submit { width: auto; min-width: 200px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .hero-contact h1 { font-size: 2.2rem; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
