/* ═══════════════════════════════════════════════════════
   SISTEMA FLORA — style.css
   Blocos: Variables · Reset · Nav · Hero · Commons ·
           Sobre · Método/Processo · FAQ · Contato ·
           Footer · Animações · Mobile
═══════════════════════════════════════════════════════ */


/* ── VARIABLES ───────────────────────────────────────── */
:root {
  --green-deep:  #344E41;
  --green-dark:  #344E41;
  --green-mid:   #588157;
  --green-soft:  #588157;
  --green-light: #A3B18A;
  --green-mist:  #E6CFC4;
  --green-foam:  #F5F3EF;
  --gold:        #D6CCC2;
  --stone:       #3A3A3A;
  --stone-light: #b8bdb0;
  --ink:         #3A3A3A;
  --white:       #F5F3EF;
  --card:        #FFFFFF;
}


/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}


/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,243,239,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(93,138,90,0.13);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 60px; width: auto; display: block; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stone); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover { color: var(--green-deep); }

.nav-cta {
  background: var(--green-deep) !important;
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 2px;
  letter-spacing: 0.1em !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 4px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(93,138,90,0.1); }
.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: rgba(245,243,239,0.98);
  backdrop-filter: blur(18px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 80px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-link {
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 2rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  width: 100%; text-align: center;
}
.mobile-link:hover { color: var(--green-deep); }
.mobile-link-cta {
  margin-top: 1.5rem;
  background: var(--green-deep);
  color: var(--white) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  width: auto;
  padding: 1rem 2.5rem;
}
.mobile-link-cta:hover { background: var(--green-dark); color: var(--white) !important; }


/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  overflow: hidden;
}

.hero-flags {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-flag {
  width: 36px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.hero-centered {
  /* Luz entrando pelo canto superior direito */
  background:
    radial-gradient(ellipse 55% 50% at 92% -2%,  rgba(255,255,255,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 98%  2%,  rgba(255,255,255,0.30) 0%, transparent 45%),
    radial-gradient(ellipse 70% 40% at 85%  0%,  rgba(255,252,245,0.40) 0%, transparent 60%),
    #F5F3EF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-centered .hero-left {
  max-width: 1000px;
  padding: 8rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.hero-title em     { font-style: italic; color: var(--green-dark); }
.hero-title .accent { color: var(--green-mid); font-style: italic; }

.hero-actions { display: flex; gap: 1.2rem; align-items: center; justify-content: center; }


/* ── COMMONS ─────────────────────────────────────────── */
section { padding: 8rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }

.section-tag {
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 1rem; font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 300; line-height: 1.2;
  color: var(--green-mid); margin-bottom: 1.5rem;
}
.section-title em { font-style: normal; color: var(--green-dark); }

.section-subtitle {
  font-size: 1rem; line-height: 1.8;
  color: var(--stone); font-weight: 400;
  max-width: 600px;
}

.btn-primary {
  background: var(--green-deep); color: #FFFFFF;
  padding: 1rem 2.2rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; border: none; cursor: pointer; border-radius: 2px;
  text-decoration: none; display: inline-block; transition: all 0.3s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }


/* ── SOBRE ───────────────────────────────────────────── */
/* Luz entrando pela esquerda (onde está a foto) */
.about {
  background:
    radial-gradient(ellipse 50% 60% at -2% 40%,  rgba(255,255,255,0.60) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at  0% 55%,  rgba(255,255,255,0.30) 0%, transparent 45%),
    radial-gradient(ellipse 60% 35% at  5% 20%,  rgba(255,252,245,0.35) 0%, transparent 60%),
    #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6rem;
  align-items: start;
}

.about-photo-frame { position: sticky; top: 110px; }
.about-photo {
  width: 100%; aspect-ratio: 3/4;
  background: var(--green-foam);
  border: 1px solid rgba(93,138,90,0.18);
  border-radius: 4px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-accent {
  position: absolute; bottom: -1px; left: -1px; right: -1px; height: 45%;
  background: linear-gradient(to top, rgba(61,107,61,0.18), transparent);
  pointer-events: none;
}
.about-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--green-deep); color: #FFFFFF;
  padding: 0.8rem 1.2rem; border-radius: 4px;
  font-size: 0.72rem; line-height: 1.6;
}
.about-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 400;
}

.about-copy { max-width: 700px; }
.about-name-display {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 400;
  color: var(--green-deep); letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
  display: inline-block; position: relative; padding-bottom: 0.35rem;
}
.about-name-display::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 65%; height: 2px;
  background: linear-gradient(to right, var(--green-mid), transparent);
}

.about-intro-text {
  font-size: 0.93rem; line-height: 1.9;
  color: var(--stone); font-weight: 400; margin-bottom: 1.2rem;
}
.about-list { margin: 1.2rem 0 1.4rem 0; }
.about-list li {
  font-size: 0.93rem; line-height: 1.9;
  color: var(--stone); font-weight: 400;
  margin-bottom: 0.5rem; margin-left: 1.8rem;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; }
.tag {
  padding: 0.38rem 1rem;
  border: 1px solid var(--green-light);
  border-radius: 20px; font-size: 0.76rem;
  color: var(--green-dark); font-weight: 600;
}


/* ── MÉTODO & PROCESSO ───────────────────────────────── */

/* Método: luz entrando pelo canto superior direito */
.method {
  background:
    radial-gradient(ellipse 50% 45% at 100% 0%,   rgba(255,255,255,0.50) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at  96% 5%,   rgba(255,255,255,0.28) 0%, transparent 45%),
    radial-gradient(ellipse 65% 35% at  90% -5%,  rgba(255,252,245,0.32) 0%, transparent 60%),
    #F5F3EF;
}

/* Processo: luz entrando pelo canto inferior esquerdo — alternância */
.process {
  background:
    radial-gradient(ellipse 55% 50% at -2% 105%,  rgba(255,255,255,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at  2% 98%,   rgba(255,255,255,0.25) 0%, transparent 45%),
    radial-gradient(ellipse 65% 40% at 10% 110%,  rgba(255,245,238,0.35) 0%, transparent 60%),
    #E6CFC4;
}

.process-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.process-header .section-title {
  margin-bottom: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.method-left  { display: flex; flex-direction: column; justify-content: center; }
.method-right { display: flex; width: 100%; }

.flora-steps { display: flex; flex-direction: column; width: 100%; }

.flora-step {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(93,138,90,0.12);
  transition: all 0.3s; cursor: default;
}
.flora-step:last-child { border-bottom: none; }

.flora-step:hover .step-icon { background: var(--green-deep); border-color: var(--green-deep); }
.flora-step:hover .step-icon svg { stroke: #FFFFFF; }

.prof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 700px;
  margin: 0 auto;
}

.prof-item {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
  text-align: center;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(93,138,90,0.12);
  cursor: default;
}

.prof-item:nth-child(odd)  { border-right: 1px solid rgba(93,138,90,0.12); }
.prof-item:nth-last-child(1),
.prof-item:nth-last-child(2) { border-bottom: none; }

@media (max-width: 600px) {
  .prof-grid { grid-template-columns: 1fr; }
  .prof-item:nth-child(odd)  { border-right: none; }
  .prof-item:nth-last-child(2) { border-bottom: 1px solid rgba(93,138,90,0.12); }
  .prof-item:nth-last-child(1) { border-bottom: none; }
}

.step-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s;
}
.step-icon svg {
  width: 19px; height: 19px;
  stroke: var(--green-mid); stroke-width: 1.5; fill: none;
}

.step-letter {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 0.3rem; font-weight: 600;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.35rem;
}
.step-desc { font-size: 0.88rem; color: var(--stone); line-height: 1.7; }


/* ── FAQ ─────────────────────────────────────────────── */
/* Luz entrando pelo canto superior esquerdo */
.faq {
  background:
    radial-gradient(ellipse 50% 45% at 0% 0%,    rgba(255,255,255,0.52) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 3%  5%,   rgba(255,255,255,0.28) 0%, transparent 45%),
    radial-gradient(ellipse 60% 35% at -5% 8%,   rgba(255,252,245,0.33) 0%, transparent 60%),
    #F5F3EF;
}

.faq-header { max-width: 680px; margin-bottom: 3rem; }

.faq-list { display: flex; flex-direction: column; gap: 1.5rem; }

.faq-item {
  background: var(--card);
  border: 1px solid rgba(93,138,90,0.18);
  border-radius: 6px;
  padding: 1.8rem 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,74,45,0.08);
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; color: var(--green-deep);
  margin-bottom: 0.8rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--green-dark); margin-left: 1rem; }
.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease;
  opacity: 0;
  font-size: 0.9rem; color: var(--stone); line-height: 1.8;
}
.faq-item.open .faq-answer { opacity: 1; }
.faq-answer p { margin: 0 0 0.8rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0.45rem 0 0; padding-left: 1.1rem; }
.faq-answer li { margin-bottom: 0.35rem; }
.faq-answer li:last-child { margin-bottom: 0; }


/* ── CONTATO ─────────────────────────────────────────── */
/* Luz entrando pelo canto superior direito — espelho do hero */
.contact {
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%,  rgba(255,255,255,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at  96% 5%,  rgba(255,255,255,0.30) 0%, transparent 45%),
    radial-gradient(ellipse 65% 40% at  88% -5%, rgba(255,252,245,0.38) 0%, transparent 60%),
    #F5F3EF;
}

.contact-header {
  display: flex; justify-content: center;
  text-align: center; margin-bottom: 3rem;
}
.contact-header .section-title { margin-bottom: 0; }

.contact-methods {
  display: flex; justify-content: center;
  align-items: flex-start; gap: 2.5rem; flex-wrap: wrap;
}

.contact-method {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.65rem;
  min-width: 190px; text-decoration: none;
  color: var(--ink); padding: 0.5rem 0.25rem;
  transition: transform 0.25s ease;
}
.contact-method:hover { transform: translateY(-3px); }

.contact-method-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep);
}
.contact-method-icon svg {
  width: 34px; height: 34px;
  stroke: currentColor; stroke-width: 1.2; fill: none;
}

.contact-method-label {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-deep);
  font-weight: 600;
}
.contact-method-value {
  font-size: 0.9rem; line-height: 1.5;
  color: var(--stone); text-align: center;
}

.contact-cta-centered {
  display: flex; justify-content: center;
  margin-top: 2.5rem;
}
.contact-cta-centered .btn-primary {
  padding: 1rem 4rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}


/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.4);
  padding: 2.8rem 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 4rem;
  display: flex; justify-content: center;
  align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.footer-logo-img { height: 48px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-copy {
  font-size: 0.75rem; font-weight: 400;
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.75rem; color: rgba(255,255,255,0.38);
  text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--green-light); }


/* ── SCROLL-TO-TOP ───────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 300;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-deep); color: #FFFFFF;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(45,74,45,0.25);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--green-dark); }
.scroll-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }


/* ── ANIMAÇÕES ───────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible     { opacity: 1; transform: translateY(0); }
.fade-up-delay-1     { transition-delay: 0.12s; }
.fade-up-delay-2     { transition-delay: 0.24s; }
.fade-up-delay-3     { transition-delay: 0.36s; }


/* ═══════════════════════════════════════════════════════
   MOBILE — max-width: 900px
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  nav { padding: 1rem 1.5rem; }
  .nav-logo-img { height: 44px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 5rem 0; }
  .container { padding: 0 1.5rem; }

  .hero-centered .hero-left { padding: 6rem 1.5rem 4rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-frame { position: static; }
  .about-name-display { font-size: 2rem; }

  .method-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process .method-left  { order: -1; }
  .process .method-right { order: 0; }

  .flora-step {
    padding: 1.5rem 0 1.5rem 1.2rem;
    border-left: 2px solid rgba(93,138,90,0.15);
  }

  .faq-question { font-size: 1.1rem; }

  .contact-methods { gap: 2rem; }
  .contact-method  { min-width: 140px; }

  .scroll-top { bottom: 1.2rem; right: 1.2rem; width: 42px; height: 42px; }
}


/* ═══════════════════════════════════════════════════════
   MOBILE — max-width: 480px
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .btn-primary { padding: 0.9rem 1.6rem; font-size: 0.75rem; }
  .about-photo { aspect-ratio: 4/5; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .step-title { font-size: 1.15rem; }
  .faq-question { font-size: 1rem; }
  .faq-item { padding: 1.4rem 1.2rem; }
  .contact-methods { flex-direction: column; align-items: center; }
  .contact-cta-centered .btn-primary { padding: 1rem 2.5rem; width: 100%; text-align: center; }
  .footer-inner { flex-direction: column; gap: 1.2rem; text-align: center; }
}


/* ── MODAL ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(52, 78, 65, 0.45);
  /* Removed backdrop blur for performance; keep semi-opaque background */
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 10px;
  padding: 3rem 2.8rem;
  width: 100%; max-width: 500px;
  max-height: 92vh; overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.35s ease;
  /* reduced shadow to lower GPU/compositing cost */
  box-shadow: 0 12px 32px rgba(52,78,65,0.12);
  will-change: transform;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: 1px solid rgba(93,138,90,0.2);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--stone); transition: all 0.2s;
}
.modal-close:hover { background: var(--green-foam); color: var(--green-deep); }
.modal-close svg { width: 16px; height: 16px; }

.modal-header { margin-bottom: 2rem; }
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300; line-height: 1.25;
  color: var(--green-deep); margin-top: 0.5rem;
}

/* Form fields */
.modal-form { display: flex; flex-direction: column; gap: 1.3rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-deep);
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(93,138,90,0.28);
  border-radius: 4px;
  background: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem; color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input::placeholder { color: var(--stone-light); }
.form-input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(88,129,87,0.12);
}

/* Validation styles */
.form-input.invalid {
  border-color: #D9534F;
  box-shadow: 0 0 0 3px rgba(217,83,79,0.06);
}
.form-error {
  color: #D9534F;
  font-size: 0.85rem;
  margin-top: 0.45rem;
  display: none;
}
.form-error.active { display: block; }

.form-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='%23588157' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-input-currency{
  width: auto;
  padding-right: 28px;
  border-right: none;
  border-radius: 8px 0 0 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  margin-top: 0.4rem;
}

/* Success state */
.modal-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 1rem; padding: 1rem 0;
}
.modal-success svg {
  width: 56px; height: 56px;
  stroke: var(--green-mid);
}
.modal-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 300;
  color: var(--green-deep);
}
.modal-success p {
  font-size: 0.92rem; color: var(--stone); line-height: 1.7;
}

/* Section CTA (botão no fim de cada seção) */
.section-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(93,138,90,0.1);
}

/* Botão nav como link */
.nav-links .btn-modal.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
}

/* Mobile link como botão */
.mobile-menu .mobile-link-cta {
  background: none;
  font-family: 'Playfair Display', serif;
  border: none;
  width: 100%;
  cursor: pointer;
}
.mobile-menu .mobile-link-cta.mobile-link-cta {
  margin-top: 1.5rem;
  background: var(--green-deep);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  width: auto;
  padding: 1rem 2.5rem;
}

/* Modal mobile */
@media (max-width: 540px) {
  .modal { padding: 2.4rem 1.6rem; border-radius: 8px; }
  .modal-title { font-size: 1.5rem; }
  .section-cta { margin-top: 2.5rem; padding-top: 2rem; }
}