/* ══════════════════════════════════════════════════════════════════════
   home.css — homepage-only styles
   Uses tokens, reset, nav, footer, buttons from site.css.
   ══════════════════════════════════════════════════════════════════════ */

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.font-display { font-family: var(--font-display); }
.text-center { text-align: center; }

.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--terracotta); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  color: var(--noite);
}
.squiggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12'%3E%3Cpath d='M0 8 Q 12.5 2, 25 8 T 50 8 T 75 8 T 100 8' fill='none' stroke='%23D4A843' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: bottom; background-size: 50px 8px;
  padding-bottom: 6px;
}

.tile-border-top { position: relative; }
.tile-border-top::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--azulejo) 0px, var(--azulejo) 12px,
    var(--marfim) 12px, var(--marfim) 16px,
    var(--terracotta) 16px, var(--terracotta) 28px,
    var(--marfim) 28px, var(--marfim) 32px);
  border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}

/* Scroll reveal, triggered by IntersectionObserver.
   Initial state is gated on html.js so no-JS users see elements at their default. */
.js .reveal,
.js .reveal-left,
.js .reveal-right,
.js .reveal-zoom {
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js .reveal       { transform: translateY(24px); }
.js .reveal-right { transform: translateX(-20px); }
.js .reveal-left  { transform: translateX(20px); }
.js .reveal-zoom  { transform: scale(0.96); }

.js .reveal.is-visible,
.js .reveal-left.is-visible,
.js .reveal-right.is-visible,
.js .reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-zoom {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(212,168,67,0.4); } 50% { box-shadow: 0 0 20px 8px rgba(212,168,67,0.15); } }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 64px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/photos/porto-street-mobile.webp') center/cover no-repeat;
}
@media (min-width: 768px) {
  .hero-bg { background-image: url('/photos/porto-street.webp'); }
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.55) 45%, transparent 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.7) 0%, transparent 50%, rgba(26,26,46,0.2) 100%);
}
.hero-texture {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: overlay;
  background: url('/photos/repeating-tiles.webp') repeat; background-size: 400px;
}
.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero-text { animation: fadeUp 0.8s var(--ease-bounce) both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 14px; font-weight: 600; color: var(--dourado); margin-bottom: 24px;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dourado); animation: pulse-glow 2s infinite; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.5vw, 54px); line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.8);
  max-width: 480px; margin-bottom: 32px; line-height: 1.7;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--dourado); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

.hero-portrait {
  display: flex; justify-content: center;
  animation: scaleIn 0.7s var(--ease-bounce) 0.3s both;
}
.hero-portrait-wrap { position: relative; }
.hero-portrait-ring {
  position: absolute; inset: -16px; border-radius: 50%;
  border: 2px dashed rgba(212,168,67,0.4);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-portrait-img {
  width: clamp(280px, 22vw, 384px); height: clamp(280px, 22vw, 384px);
  border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 60px rgba(212,168,67,0.2);
}
.hero-portrait-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-float-badge {
  position: absolute; bottom: -8px; right: -8px;
  background: var(--white); border-radius: 999px; padding: 8px 18px;
  border: 2px solid var(--noite); box-shadow: var(--shadow-tile);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--azulejo);
  animation: float 6s ease-in-out infinite;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10;
}
.hero-scroll-pill {
  width: 24px; height: 40px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.4);
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll-dot {
  width: 4px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.6);
  animation: bounce 1.5s infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); opacity: 0.3; } }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-portrait { display: none; }
  .hero-stats { gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL PROOF BAR
   ═══════════════════════════════════════════════════════════════════ */
.proof-bar {
  background: var(--noite); padding: 20px 0;
  border-bottom: 3px solid var(--azulejo);
}
.proof-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 32px;
}
.proof-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7);
}
.proof-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); font-size: 18px;
}
.proof-num { color: var(--dourado); font-family: var(--font-display); font-weight: 700; font-size: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   VIDEO
   ═══════════════════════════════════════════════════════════════════ */
.video-section { padding: 96px 0; background: var(--marfim); }
.video-frame {
  position: relative; padding: 14px; border-radius: 20px;
  background: url('/photos/dirty-tiles.webp') center/300px repeat;
  box-shadow: var(--shadow-tile-lg);
}
.video-frame::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(250,246,238,0.55); border-radius: inherit; pointer-events: none;
}
.video-frame video {
  position: relative; z-index: 1; width: 100%; border-radius: 12px;
  border: 2px solid var(--noite); display: block;
}
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3; width: 88px; height: 88px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  border: 3px solid var(--white); box-shadow: var(--shadow-tile);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding-left: 6px;
  transition: transform 300ms var(--ease-bounce), box-shadow 300ms var(--ease-bounce);
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 6px 6px 0 0 var(--azulejo); }
.video-play:active { transform: translate(-50%, -50%) scale(0.95); }
.video-quote {
  max-width: 640px; margin: 40px auto 0; text-align: center; position: relative;
}
.video-quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; color: var(--cortica); line-height: 1.6;
}
.video-quote footer {
  margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--azulejo);
  /* reset footer-section colors vs site footer */
  background: transparent; padding: 0; text-align: center;
}
.quote-mark {
  position: absolute; top: -8px; left: -8px;
  font-family: var(--font-display); font-size: 64px; color: var(--azulejo);
  opacity: 0.1; line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   HOW YOU'LL LEARN
   ═══════════════════════════════════════════════════════════════════ */
.how-learn { padding: 96px 0; background: var(--calcada); position: relative; overflow: hidden; }
.how-learn-texture {
  position: absolute; inset: 0; opacity: 0.04;
  background: url('/photos/Calcada-portuguesa.webp') repeat; background-size: 600px;
}
.how-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 48px;
}
.how-card {
  background: var(--white); border-radius: 20px; border: 2px solid var(--noite);
  overflow: hidden; transition: transform 300ms var(--ease-bounce);
}
.how-card:hover { transform: translateY(-4px); }
.how-card-header {
  padding: 32px 32px 24px; display: flex; align-items: flex-start; gap: 16px;
}
.how-card-icon {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; border: 2px solid var(--noite);
}
.how-card-icon.blue { background: var(--azulejo); color: var(--white); box-shadow: var(--shadow-tile); }
.how-card-icon.terra { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-warm); }
.how-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.how-card h3 small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--cortica); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.how-card-body { padding: 0 32px 32px; }
.how-card-body p { color: var(--cortica); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.how-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.how-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--noite);
}
.how-features li::before {
  content: "✦"; flex-shrink: 0; font-size: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.how-card.lessons .how-features li::before { background: var(--terracotta); color: var(--white); }
.how-card.practice .how-features li::before { background: var(--azulejo); color: var(--white); }

/* Cloudflare Turnstile widget container */
.form-turnstile {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}
.form-turnstile .cf-turnstile {
  min-height: 65px;
}
.how-card-img {
  margin: 0 32px 32px; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--border);
}
.how-card-img img { width: 100%; height: 200px; object-fit: cover; }
.how-connector {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--dourado); border: 3px solid var(--noite);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--white);
  box-shadow: var(--shadow-gold); z-index: 2;
}

@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-connector { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   WHY LEARN
   ═══════════════════════════════════════════════════════════════════ */
.why-section { padding: 96px 0; background: var(--marfim); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.why-card {
  background: var(--white); border-radius: 20px; border: 2px solid var(--noite);
  overflow: hidden; transition: transform 300ms var(--ease-bounce);
}
.why-card:hover { transform: translateY(-4px); }
.why-card-img { height: 200px; overflow: hidden; }
.why-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.why-card:hover .why-card-img img { transform: scale(1.05); }
.why-card-body { padding: 24px; }
.why-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.why-card p { color: var(--cortica); font-size: 15px; line-height: 1.6; }

@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   MAGAZINE PULL-QUOTE
   ═══════════════════════════════════════════════════════════════════ */
.magazine-section {
  position: relative; padding: 140px 24px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; min-height: 60vh;
}
.magazine-bg {
  position: absolute; inset: 0;
  background: url('/photos/algave-cliffs.webp') center/cover no-repeat;
}
.magazine-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,77,142,0.88) 0%, rgba(26,26,46,0.82) 100%);
}
.magazine-content {
  position: relative; z-index: 2; max-width: 820px; text-align: center;
}
.magazine-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--dourado); margin-bottom: 32px;
}
.magazine-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45;
  color: var(--white);
}
.magazine-attribution {
  margin-top: 32px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════
   MEET NUNO
   ═══════════════════════════════════════════════════════════════════ */
.meet-section { padding: 96px 0; background: var(--calcada); overflow: hidden; }
.meet-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center;
}
.meet-portrait { position: relative; }
.meet-portrait-tile {
  position: absolute; inset: -24px; border-radius: 24px; opacity: 0.2;
  background: url('/photos/dirty-tiles.webp') center/250px repeat;
}
.meet-portrait-circle {
  position: relative; width: 340px; height: 340px; border-radius: 50%;
  overflow: hidden; border: 4px solid var(--azulejo); box-shadow: var(--shadow-tile-lg);
}
.meet-portrait-circle img { width: 100%; height: 100%; object-fit: cover; }
.meet-float {
  position: absolute; bottom: -12px; right: -8px;
  background: var(--white); border-radius: 16px; padding: 12px 20px;
  border: 2px solid var(--noite); box-shadow: var(--shadow-warm);
}
.meet-float-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.meet-float-sub { font-size: 12px; color: var(--cortica); }
.meet-bio h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 24px; }
.meet-bio p { color: var(--cortica); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.meet-bio .highlight { color: var(--azulejo); font-weight: 600; font-style: normal; }
.meet-bio .nuno-quote { font-family: var(--font-display); font-style: italic; color: var(--noite); }
.mini-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding-bottom: 4px;
  font-weight: 700; font-size: 15px; color: var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transition: gap 250ms var(--ease-bounce), color 200ms;
}
.mini-cta:hover { gap: 14px; color: var(--azulejo); border-color: var(--azulejo); }
.meet-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.meet-tag {
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid;
}
.meet-tag.blue { background: rgba(27,77,142,0.08); color: var(--azulejo); border-color: rgba(27,77,142,0.15); }
.meet-tag.terra { background: rgba(196,97,58,0.08); color: var(--terracotta); border-color: rgba(196,97,58,0.15); }
.meet-tag.green { background: rgba(45,106,79,0.08); color: var(--verde); border-color: rgba(45,106,79,0.15); }
.meet-tag.gold { background: rgba(212,168,67,0.08); color: var(--cortica); border-color: rgba(212,168,67,0.2); }

@media (max-width: 900px) {
  .meet-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .meet-portrait-circle { width: 260px; height: 260px; }
  .meet-tags { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════ */
.testimonials { padding: 96px 0; background: var(--marfim); position: relative; overflow: hidden; }
.testimonials-bg {
  position: absolute; inset: 0; opacity: 0.025;
  background: url('/photos/nunu-portrait.webp') center top/cover no-repeat;
  filter: blur(4px);
}
.test-grid {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 48px;
}
.test-card {
  background: var(--white); border-radius: 20px; border: 2px solid var(--noite);
  padding: 28px; box-shadow: var(--shadow-tile-lg);
  transition: transform 300ms var(--ease-bounce);
}
.test-card:hover { transform: translateY(-3px); }
.test-card.featured {
  grid-column: 1 / -1;
  background: var(--noite); color: var(--white);
  box-shadow: 8px 8px 0 0 var(--azulejo);
}
.test-card.featured .test-text { color: rgba(255,255,255,0.8); font-size: 18px; }
.test-card.featured .test-name { color: var(--dourado); }
.test-card.featured .test-meta { color: rgba(255,255,255,0.5); }
.test-card.featured .test-stars { color: var(--dourado); }
.test-stars { color: var(--dourado); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.test-text { color: var(--cortica); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.test-footer { display: flex; align-items: center; justify-content: space-between; background: transparent; padding: 0; text-align: left; color: inherit; }
.test-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.test-meta { font-size: 13px; color: var(--cortica); }
.test-badge {
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(45,106,79,0.1); color: var(--verde);
}
.test-card.featured .test-badge { background: rgba(45,106,79,0.2); }

@media (max-width: 768px) { .test-grid { grid-template-columns: 1fr; } .test-card.featured { grid-column: 1; } }

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq-section { padding: 96px 0; background: var(--marfim); position: relative; }
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 2px solid var(--noite); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--noite); overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.faq-item[open] { box-shadow: 6px 6px 0 var(--azulejo); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--noite); position: relative; padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 28px; font-weight: 400; color: var(--terracotta); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 0 24px 22px; color: var(--cortica); font-size: 16px; line-height: 1.65; }
.faq-answer p { margin: 0; }

/* ═══════════════════════════════════════════════════════════════════
   CONTACT (form + facts)
   ═══════════════════════════════════════════════════════════════════ */
.pricing { padding: 96px 0; background: var(--calcada); position: relative; overflow: hidden; }
.pricing-texture {
  position: absolute; inset: 0; opacity: 0.03;
  background: url('/photos/Calcada-portuguesa.webp') repeat; background-size: 500px;
}

.contact-facts {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 32px; margin-top: 32px; padding: 20px 24px;
  background: var(--white); border: 2px solid var(--border); border-radius: 999px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.contact-fact { display: flex; flex-direction: column; align-items: center; font-size: 12px; }
.contact-fact strong {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--azulejo);
}
.contact-fact span { color: var(--cortica); margin-top: 2px; }
@media (max-width: 640px) {
  .contact-facts { gap: 16px 24px; border-radius: 20px; }
}

.contact-form {
  position: relative; margin-top: 48px;
  background: var(--white); border: 2px solid var(--noite); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow-tile-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-field label {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cortica); margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--noite);
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 12px;
  background: var(--marfim); transition: border-color 200ms, box-shadow 200ms;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--azulejo);
  box-shadow: 4px 4px 0 0 var(--azulejo);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; justify-content: center; width: 100%; }
.form-success, .form-error {
  max-width: 800px; margin: 32px auto 0; padding: 20px 24px;
  border-radius: 16px; font-size: 15px; text-align: center;
  border: 2px solid var(--noite);
}
.form-success {
  background: rgba(45,106,79,0.08); color: var(--verde);
  box-shadow: 6px 6px 0 0 var(--verde);
}
.form-success strong { font-family: var(--font-display); font-size: 18px; display: block; margin-bottom: 4px; }
.form-error {
  background: rgba(196,97,58,0.08); color: var(--terracotta);
  box-shadow: var(--shadow-warm);
}
.form-error a { color: var(--terracotta); text-decoration: underline; font-weight: 600; }

@media (max-width: 640px) {
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS (steps)
   ═══════════════════════════════════════════════════════════════════ */
.steps-section { padding: 96px 0; background: var(--marfim); }
.steps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  margin-top: 48px; align-items: center;
}
.steps-list { display: flex; flex-direction: column; gap: 32px; }
.step-item { display: flex; gap: 20px; }
.step-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--azulejo); border: 2px solid var(--noite); box-shadow: var(--shadow-tile);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 14px;
}
.step-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 4px; }
.step-item p { color: var(--cortica); font-size: 15px; line-height: 1.6; }
.steps-image { position: relative; }
.steps-image-main {
  border-radius: 20px; overflow: hidden; border: 2px solid var(--noite);
  box-shadow: var(--shadow-tile-lg);
}
.steps-image-main img { width: 100%; height: auto; }
.steps-float {
  position: absolute; bottom: -16px; left: 24px;
  background: var(--white); border-radius: 999px; padding: 10px 20px;
  border: 2px solid var(--noite); box-shadow: var(--shadow-gold);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-image { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION (big Porto footer-style CTA, not the site footer)
   ═══════════════════════════════════════════════════════════════════ */
.cta-section { position: relative; padding: 112px 0; overflow: hidden; }
.cta-section-bg {
  position: absolute; inset: 0;
  background: url('/photos/porto.webp') center/cover no-repeat;
}
.cta-section-bg::before { content: ""; position: absolute; inset: 0; background: rgba(26,26,46,0.78); }
.cta-section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, transparent 100%); }
.cta-section-content {
  position: relative; z-index: 2; max-width: 640px; margin: 0 auto;
  padding: 0 24px; text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 5vw, 48px); color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-trust { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.45); }
