:root{
  --ink:#111b24;
  --muted:#68727b;
  --teal:#16c4cf;
  --teal-dark:#0599a6;
  --deep:#03191d;
  --deep-2:#062a2f;
  --paper:#ffffff;
  --soft:#f3fbfc;
  --line:#d8eef0;
  --shadow:0 18px 45px rgba(6,42,47,.10);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

/* O header e a assinatura horizontal já nascem no estado final para evitar FOUC/layout shift. */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(7,19,23,.94);
  color:#eff9fa;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{height:82px;display:flex;align-items:center;gap:28px}
.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  width:190px;
  height:72px;
  overflow:visible;
}
.brand img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  border-radius:0;
  object-fit:contain;
  object-position:left center;
}
.nav-links{display:flex;gap:26px;margin-left:auto;font-size:14px;font-weight:600;color:#eff9fa}
.nav-links a{position:relative;padding:30px 0;color:#eff9fa}
.nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;background:var(--teal);transition:.25s}
.nav-links a:hover::after{right:0}
.nav-cta{margin-left:6px}
.menu-toggle{display:none;background:none;border:0;padding:6px}
.menu-toggle span{display:block;width:24px;height:2px;background:#eff9fa;margin:5px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:0 22px;border-radius:14px;
  font-weight:800;font-size:13px;letter-spacing:.01em;border:1px solid transparent;
  cursor:pointer;transition:.25s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--teal),var(--teal-dark));color:white;box-shadow:0 10px 24px rgba(22,196,207,.25)}
.btn-outline{border-color:var(--teal-dark);color:var(--teal-dark);background:white}
.btn-whatsapp{background:#0c6f75;color:#fff}
.btn-outline-light{border-color:rgba(255,255,255,.42);color:white;background:rgba(255,255,255,.03)}

.hero{
  position:relative;
  overflow:hidden;
  color:white;
  background:
    radial-gradient(circle at 76% 45%,rgba(22,196,207,.18),transparent 34%),
    linear-gradient(120deg,#001418 0%,#02262b 55%,#001518 100%);
  min-height:590px;
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  align-items:stretch;
  min-height:590px;
  gap:28px;
}
.hero-copy{padding:70px 0 105px;position:relative;z-index:2}
.eyebrow{color:var(--teal);font-weight:800;letter-spacing:.14em;font-size:13px}
.hero h1{font-family:Montserrat,sans-serif;font-size:clamp(42px,5vw,68px);line-height:.98;max-width:700px;margin:18px 0 20px}
.hero h1 span{color:var(--teal)}
.hero-copy>p{max-width:560px;font-size:18px;color:#d8e6e8}
.hero-actions{display:flex;gap:14px;margin:30px 0 38px}
.hero-points{display:flex;gap:36px;flex-wrap:wrap}
.hero-points div{display:flex;gap:12px;align-items:center;font-size:14px;color:#dcebed}
.hero-points b{font-size:28px;color:var(--teal)}
.hero-media{
  position:relative;
  min-width:0;
  height:590px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}
.hero-media img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  max-width:620px;
  max-height:none;
  object-fit:contain;
  object-position:center bottom;
  border-radius:0;
  filter:saturate(.96) contrast(1.02);
}
.hero-glow{position:absolute;width:480px;height:480px;border-radius:50%;background:radial-gradient(circle,rgba(22,196,207,.28),transparent 67%);top:70px;left:50%;transform:translateX(-50%)}

.section{padding:90px 0}
.section-title{text-align:center;max-width:760px;margin:0 auto 44px}
.section-title.left{text-align:left;margin-left:0}
.section-title span{color:var(--teal-dark);text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:.16em}
.section-title h2{font-family:Montserrat,sans-serif;font-size:clamp(30px,4vw,46px);margin:8px 0 10px;line-height:1.1}
.section-title p{color:var(--muted);margin:0}

.soft-section{background:var(--soft);position:relative;overflow:hidden}
.curved-top{border-radius:70px 70px 0 0}
.curved-bottom{border-radius:0 0 70px 70px}

.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.service-card{
  background:white;border:1px solid var(--line);padding:28px 22px;border-radius:22px;
  box-shadow:0 10px 28px rgba(6,42,47,.06);transition:.25s
}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.service-card .icon{font-size:30px;margin-bottom:18px}
.service-card h3{margin:0 0 8px;font-size:18px}
.service-card p{color:var(--muted);font-size:14px;margin:0 0 16px}
.service-card small{color:var(--teal-dark);font-weight:700}

.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.price-card{
  background:white;border:1px solid var(--line);padding:32px;border-radius:26px;
  box-shadow:0 12px 32px rgba(6,42,47,.06);position:relative
}
.price-card.featured{border:2px solid var(--teal);transform:translateY(-10px)}
.price-card .tag{display:inline-block;color:var(--teal-dark);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 12px}
.price-card h3{font-size:22px;margin:0 0 18px}
.price{display:flex;flex-direction:column;gap:3px;margin-bottom:18px}
.price span{color:var(--muted);font-size:13px}
.price strong{font-family:Montserrat,sans-serif;font-size:38px;color:var(--teal-dark)}
.price-card ul{padding-left:20px;color:var(--muted);min-height:98px}
.price-card .btn{width:100%}

.promo-banner{
  margin-top:42px;background:linear-gradient(120deg,var(--deep),var(--deep-2));
  color:white;border-radius:28px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px
}
.promo-banner span{color:var(--teal);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.promo-banner h3{font-size:26px;margin:7px 0 4px}
.promo-banner p{margin:0;color:#c7d9dc}

.booking-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start}
.booking-note{background:var(--soft);padding:24px;border-radius:20px;border:1px solid var(--line)}
.booking-note strong{color:var(--teal-dark)}
.booking-note p{margin:5px 0 0;color:var(--muted)}
.booking-form{background:white;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}
.form-grid input,.form-grid select,.form-grid textarea{
  width:100%;border:1px solid #cfdee0;border-radius:12px;padding:13px 14px;background:#fff;outline:none
}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(22,196,207,.12)}
.form-grid .full{grid-column:1/-1}
.checkbox-label{flex-direction:row!important;align-items:center;gap:10px!important;padding-top:31px}
.checkbox-label input{width:auto}
.booking-form>.btn{margin-top:20px;width:100%}

.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}
.about-text{font-size:18px;color:var(--muted)}
.about-cards{display:grid;gap:16px}
.about-cards article{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;display:grid;grid-template-columns:56px 1fr;column-gap:14px}
.about-cards b{grid-row:1/3;font-family:Montserrat,sans-serif;font-size:30px;color:var(--teal)}
.about-cards h3{margin:2px 0 5px}
.about-cards p{margin:0;color:var(--muted)}

.gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:220px;gap:18px}
.gallery-placeholder{
  border-radius:28px;display:flex;align-items:flex-end;padding:24px;color:white;font-weight:800;
  background:
    linear-gradient(to top,rgba(0,24,27,.72),transparent 55%),
    radial-gradient(circle at 30% 30%,rgba(22,196,207,.6),transparent 25%),
    linear-gradient(135deg,#0d4b51,#06242a);
}
.gallery-placeholder:first-child{grid-row:span 2}

.testimonials{padding-top:60px}
.testimonial-track{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.testimonial-track article{border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:0 10px 28px rgba(6,42,47,.05)}
.stars{color:#f4b400;letter-spacing:.08em}
.testimonial-track p{color:var(--muted)}

.footer{
  position:relative;margin-top:60px;background:linear-gradient(120deg,#00181c,#052d32);color:white;padding:90px 0 24px;overflow:hidden
}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.2fr 1fr;gap:36px}
.footer-brand img{
  display:block;
  width:min(220px,100%);
  height:auto;
  max-height:92px;
  object-fit:contain;
  object-position:left center;
  border-radius:0;
  margin-bottom:14px;
}
.footer p{color:#c5d6d8;font-size:14px}
.footer h3{font-size:15px;color:var(--teal);text-transform:uppercase;letter-spacing:.06em}
.footer-link{display:inline-block;margin-top:8px;color:var(--teal);font-weight:800}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;color:#9fb7ba;font-size:13px}

.wave{
  position:absolute;left:-5%;right:-5%;height:90px;pointer-events:none;
  background:currentColor;clip-path:polygon(0 50%,8% 64%,18% 55%,29% 68%,40% 55%,52% 64%,65% 48%,77% 62%,88% 50%,100% 62%,100% 100%,0 100%)
}
.wave-light{bottom:-1px;color:white}
.wave-dark{top:-1px;color:white;transform:rotate(180deg)}

.floating-whatsapp{
  position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;
  display:grid;place-items:center;background:#15b88a;color:white;font-size:28px;box-shadow:0 14px 30px rgba(0,0,0,.18);z-index:60
}

@media (max-width: 980px){
  .brand{width:170px;height:64px}
  .nav-links{position:fixed;top:82px;left:0;right:0;background:#071317;display:none;flex-direction:column;padding:22px 20px;gap:0;border-bottom:1px solid #1b383f;color:#eff9fa}
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 0;color:#eff9fa}
  .nav-links a::after{display:none}
  .nav-cta{margin-left:auto}
  .menu-toggle{display:block}
  .hero-grid,.booking-grid,.about-grid{grid-template-columns:1fr}
  .hero{min-height:auto}
  .hero-copy{padding-bottom:20px}
  .hero-media{height:430px;overflow:hidden}
  .hero-media img{width:100%;height:100%;max-width:560px;object-fit:contain;object-position:center bottom}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .pricing-grid{grid-template-columns:1fr}
  .price-card.featured{transform:none}
  .footer-grid{grid-template-columns:1fr 1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-placeholder:first-child{grid-row:auto;grid-column:1/-1}
}

@media (max-width: 650px){
  .container{width:min(100% - 24px,1180px)}
  .nav{height:72px;gap:14px}
  .brand{width:145px;height:58px}
  .nav-links{top:72px}
  .nav-cta{display:none}
  .hero-grid{min-height:0}
  .hero-copy{padding:54px 0 12px}
  .hero h1{font-size:42px}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%}
  .hero-points{gap:18px}
  .hero-media{height:310px;overflow:hidden}
  .hero-media img{width:100%;height:100%;max-width:430px;object-fit:contain;object-position:center bottom}
  .section{padding:68px 0}
  .service-grid{grid-template-columns:1fr}
  .promo-banner{flex-direction:column;align-items:flex-start;padding:28px}
  .form-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:auto}
  .checkbox-label{padding-top:0}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:200px}
  .gallery-placeholder:first-child{grid-column:auto}
  .testimonial-track{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:8px}
  .curved-top{border-radius:40px 40px 0 0}
  .curved-bottom{border-radius:0 0 40px 40px}
  .footer-brand img{width:min(210px,78vw);max-height:86px}
}

@media (max-width:390px){
  .brand{width:132px;height:54px}
}

@media (min-width: 981px) and (max-width: 1220px){
  .brand{width:150px;height:68px}
  .hero-grid{grid-template-columns:1.12fr .88fr}
  .hero h1{font-size:clamp(40px,4.6vw,58px)}
  .hero-media img{max-width:540px}
}

/* V3 — imagem dedicada do banner */
.hero-media img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center bottom !important;
  max-width:640px;
  max-height:560px;
  border-radius:0 !important;
}
@media (max-width:980px){
  .hero-media img{max-height:420px;max-width:560px}
}
@media (max-width:650px){
  .hero-media img{max-height:300px;max-width:420px}
}

/* Dark-first: evita o flash branco antes do módulo de tema carregar. */
html:not([data-theme="light"]){
  color-scheme:dark;
  --ink:#eff9fa;
  --muted:#9fb3b7;
  --teal:#20d0db;
  --teal-dark:#30c6d0;
  --deep:#020f12;
  --deep-2:#072329;
  --paper:#071317;
  --soft:#0b1d22;
  --line:#1b383f;
  --shadow:0 18px 45px rgba(0,0,0,.28);
}
html:not([data-theme="light"]) body{background:#071317;color:var(--ink)}
html:not([data-theme="light"]) .site-header{background:rgba(7,19,23,.94);border-color:rgba(255,255,255,.08);color:#eff9fa}
html:not([data-theme="light"]) .nav-links{background:#071317;color:#eff9fa}
html:not([data-theme="light"]) .menu-toggle span{background:#eff9fa}
html:not([data-theme="light"]) .btn-outline{background:#0a1a1f;color:var(--teal);border-color:#247680}
html:not([data-theme="light"]) .soft-section{background:#0b1d22}
html:not([data-theme="light"]) .service-card,
html:not([data-theme="light"]) .price-card,
html:not([data-theme="light"]) .booking-form,
html:not([data-theme="light"]) .about-cards article,
html:not([data-theme="light"]) .testimonial-track article{
  background:#0d2025;
  border-color:#1b383f;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
html:not([data-theme="light"]) .booking-note{background:#0d2025;border-color:#1b383f}
html:not([data-theme="light"]) .form-grid input,
html:not([data-theme="light"]) .form-grid select,
html:not([data-theme="light"]) .form-grid textarea{
  background:#09191d;
  color:#eff9fa;
  border-color:#28464d;
}
html:not([data-theme="light"]) .form-grid input::placeholder,
html:not([data-theme="light"]) .form-grid textarea::placeholder{color:#71898f}
html:not([data-theme="light"]) option{background:#09191d;color:#eff9fa}
html:not([data-theme="light"]) .footer{background:linear-gradient(120deg,#010b0d,#041b20)}

/* Mesmo no tema claro, o cabeçalho permanece escuro desde o primeiro frame. */
html[data-theme="light"] .site-header{background:rgba(7,19,23,.94);border-color:rgba(255,255,255,.08);color:#eff9fa}
html[data-theme="light"] .site-header .nav-links a{color:#eff9fa}
html[data-theme="light"] .site-header .menu-toggle span{background:#eff9fa}
@media (max-width:980px){
  html[data-theme="light"] .site-header .nav-links{background:#071317;border-bottom-color:#1b383f}
}

/* A transição antiga em zigue-zague também não aparece durante o primeiro paint. */
.wave{display:none!important;clip-path:none!important}
.hero.section-rounded-bottom{border-radius:0 0 34px 34px}
.soft-section.curved-top.curved-bottom{border-radius:34px}
.footer{border-radius:34px 34px 0 0}

@media (max-width:650px){
  .hero.section-rounded-bottom{border-radius:0 0 24px 24px}
  .soft-section.curved-top.curved-bottom{border-radius:24px!important}
  .footer{border-radius:24px 24px 0 0}
}
