/* ==========================================================================
   CIVIC GLASS — Design system do abaixo-assinado Danster Fernandes
   Direção estética: vidro cívico — glassmorphism azul sobre fundo escuro,
   com textura granulada e luz suave, transmitindo confiança institucional
   sem perder o calor humano da causa animal.
   ========================================================================== */

:root{
  --black:#0e0e0d;
  --black-2:#151a1d;
  --glass-tint:23,29,32;
  --accent:#efe82c;
  --accent-2:#6b6100; /* variante escura do destaque, usada em texto sobre fundo branco (seção "Quem sou eu") */
  --accent-glow:rgba(239,232,44,0.55);
  --white:#FAF8F1;
  --gray:#a8a69c;
  --green:#3fae5a;
  --red:#e2483a;
  --radius:10px;
  --maxw:1180px;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:'Manrope',sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.display{
  font-family:'Anton',sans-serif;
  text-transform:uppercase;
  letter-spacing:0.5px;
  line-height:1.05;
  margin:0;
}
a{color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
::selection{background:var(--accent); color:var(--black);}

/* textura granulada de vidro — reutilizada no formulário e nas caixas */
.glass-grain{
  position:relative;
  background:
    var(--noise),
    linear-gradient(155deg, rgba(var(--glass-tint),0.75), rgba(var(--glass-tint),0.4));
  background-blend-mode:overlay, normal;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
  border:1px solid rgba(239,232,44,0.25);
  box-shadow:0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ---------------- HERO ---------------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:56px 0 110px;
  min-height:640px;
  display:flex;
  align-items:center;
}
.hero .wrap{
  position:relative;
  z-index:3;
  padding-left:12px; /* margem esquerda reduzida em desktop, mantendo alinhamento à esquerda */
}
.paw-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(circle at 15% 20%, rgba(239,232,44,0.08) 0, transparent 45%),
                     radial-gradient(circle at 90% 80%, rgba(239,232,44,0.06) 0, transparent 40%);
}

/* imagem de fundo centralizada, cobrindo toda a hero */
.hero-media{
  position:absolute; inset:0; z-index:1; overflow:hidden;
  background:linear-gradient(150deg,#232000,#0e0e0d);
}
.hero-media picture{position:absolute; inset:0; display:block; width:100%; height:100%;}
.hero-media img{position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center;}
.hero-media::after{
  content:""; position:absolute; inset:0; z-index:2;
  background:linear-gradient(180deg, rgba(14,14,13,0.55) 0%, rgba(14,14,13,0.55) 35%, rgba(14,14,13,0.85) 100%);
}

/* logomarca: alinhada à esquerda, acima do texto "Abaixo-assinado oficial" */
.hero-logo{position:relative; z-index:6; display:flex; justify-content:flex-start; margin-bottom:22px;}
.hero-logo img{height:81px; width:auto; display:block;} /* +40% em desktop (58px base) */

.hero-content{position:relative; z-index:2; max-width:620px;}
.hero-content .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--accent); font-weight:800; font-size:13px;
  letter-spacing:1.5px; text-transform:uppercase; margin-bottom:18px;
}
.icon-paw{width:15px; height:15px; fill:var(--accent);}
.hero-content h1{font-size:clamp(32px, 4.6vw, 54px); color:var(--white);}
.hero-content h1 span{color:var(--accent);}
.hero-content p{color:#d8d6cc; font-size:17px; margin-top:18px; max-width:520px;}

/* transição suave em blur entre hero e a próxima seção */
.hero-fade{
  position:absolute; left:0; right:0; bottom:-46px; height:100px; z-index:3;
  background:linear-gradient(to bottom, transparent 0%, var(--black) 75%);
  filter:blur(22px);
  pointer-events:none;
}
#formulario{margin-top:-50px; padding-top:64px; position:relative; z-index:4;}

@media (max-width:880px){
  .hero{padding:0 0 24px; min-height:780px; align-items:flex-end;}
  .hero .wrap{padding-left:24px;} /* mantém alinhamento padrão à esquerda em mobile */
  .hero-media img{object-position:center 25%;} /* sobe a imagem de fundo um pouco mais para cima */
  .hero-logo{justify-content:flex-start;}
  .hero-logo img{height:60px;} /* +30% em mobile (46px base) */
  .hero-content{max-width:100%; text-align:left;}
  .hero-content p{max-width:100%;}
}

/* ---------------- SECTIONS ---------------- */
.section{position:relative; padding:80px 0;}
.section-title{text-align:center; max-width:720px; margin:0 auto 30px;}
.section-title .tag{
  color:var(--accent); font-weight:800; font-size:13px;
  letter-spacing:1.5px; text-transform:uppercase; display:block; margin-bottom:10px;
}
.section-title h2{font-size:clamp(24px, 3.6vw, 38px); color:var(--white);}

/* ---------------- FORM ---------------- */
.form-card{
  border-radius:14px;
  padding:40px;
  max-width:760px; margin:0 auto;
}
.form-card::before{
  content:""; position:absolute; top:-1px; left:24px; right:24px; height:4px;
  background:var(--accent); border-radius:0 0 4px 4px;
}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px 20px;}
.field{display:flex; flex-direction:column; gap:7px;}
.field.full{grid-column:1/-1;}
.field label{font-size:13px; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:0.4px;}
.field label .req{color:var(--accent);}
.field input{
  background:rgba(0,0,0,0.35); border:1.5px solid rgba(255,255,255,0.12); color:var(--white);
  padding:14px; border-radius:8px; font-size:16px; font-family:'Manrope',sans-serif;
  outline:none; transition:border-color .15s, box-shadow .15s;
}
.field input:focus{border-color:var(--accent); box-shadow:0 0 0 3px rgba(239,232,44,0.18);}
.field input.invalid{border-color:var(--red);}
.field input.valid{border-color:var(--green);}
.field .hint{font-size:12px; color:var(--red); min-height:14px;}
.cep-status{font-size:12px; min-height:14px; color:var(--gray);}

.checkbox-field{
  display:flex; align-items:flex-start; gap:10px; margin-top:22px;
  background:rgba(0,0,0,0.3); padding:16px; border-radius:8px; border:1px solid rgba(255,255,255,0.1);
}
.checkbox-field input{margin-top:4px; width:18px; height:18px; accent-color:var(--accent); flex-shrink:0;}
.checkbox-field label{font-size:13px; color:var(--gray); line-height:1.5;}
.checkbox-field a{color:var(--accent); text-decoration:underline;}

.submit-btn{
  width:100%; margin-top:24px; min-height:56px;
  background:var(--accent); color:#04121a; border:none;
  font-family:'Anton',sans-serif; text-transform:uppercase; letter-spacing:0.6px;
  font-size:18px; padding:16px; border-radius:10px; cursor:pointer;
  transition:background .15s, transform .1s;
  animation:btnPulse 2.6s ease-in-out infinite;
}
.submit-btn:hover{background:#f5f16b; transform:translateY(-1px);}
.submit-btn:disabled{opacity:0.6; cursor:not-allowed; animation:none;}
@keyframes btnPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(239,232,44,0.55), 0 0 14px 2px rgba(239,232,44,0.35);}
  50%{box-shadow:0 0 0 10px rgba(239,232,44,0), 0 0 26px 8px rgba(239,232,44,0.55);}
}
.form-msg{text-align:center; margin-top:16px; font-size:14px; font-weight:700;}
.form-msg.error{color:var(--red);}

@media (max-width:600px){
  .form-card{padding:26px 20px;}
  .form-grid{grid-template-columns:1fr;}
}

/* ---------------- CARDS ---------------- */
.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.card{
  border-radius:14px; padding:32px 26px; position:relative;
  opacity:0; transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.card.is-visible{opacity:1; transform:translateY(0);}
.card:nth-child(1){transition-delay:0s;}
.card:nth-child(2){transition-delay:.15s;}
.card:nth-child(3){transition-delay:.3s;}
.card-icon{width:38px; height:38px; fill:var(--accent); margin-bottom:16px;}
.card h3{
  font-size:20px; color:var(--white); margin-bottom:10px; text-transform:none;
  font-family:'Manrope',sans-serif; font-weight:800;
}
.card p{color:var(--gray); font-size:15px; margin:0;}
@media (max-width:820px){.cards{grid-template-columns:1fr;}}

/* ---------------- BIO (fundo branco / texto preto, conforme solicitado) ---------------- */
.bio-section{background:#ffffff; color:#171717; padding-bottom:0;}
.bio-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:50px; align-items:center; padding-bottom:26px;}
.bio-grid .tag{color:var(--accent-2); font-weight:800; font-size:13px; letter-spacing:1.5px; text-transform:uppercase;}
.bio-grid h2{font-size:clamp(28px,4vw,42px); margin:10px 0 18px; color:#111;}
.bio-grid p{color:#3d3b32; font-size:15.5px; margin-bottom:14px;}
.bio-photo{position:relative;}
.bio-photo img{border-radius:16px; width:100%; object-fit:cover; aspect-ratio:1/1;}
.bio-photo::before{content:""; position:absolute; inset:-10px; border:2px solid var(--accent); border-radius:18px; z-index:-1; opacity:0.9;}
@media (max-width:880px){
  .bio-grid{grid-template-columns:1fr;}
  .bio-photo{order:-1; max-width:340px; margin:0 auto 10px;}
  .social-label{text-align:center;}
  .social-row{justify-content:center;}
}

.social-label{margin-top:26px; font-weight:800; color:#111; text-transform:uppercase; font-size:13px; letter-spacing:0.5px;}
.social-row{display:flex; gap:16px; margin-top:14px;}
.social-row a{
  display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:rgba(239,232,44,0.1); border:1px solid rgba(239,232,44,0.4);
  animation:floatIcon 3.4s ease-in-out infinite;
  transition:border-color .2s, box-shadow .3s, transform .2s;
}
.social-row a:hover{border-color:var(--accent); box-shadow:0 0 18px rgba(239,232,44,0.5); transform:translateY(-3px);}
.social-row svg{width:21px; height:21px; fill:var(--accent);}

/* cores originais de cada rede social */
.social-row a[aria-label="Instagram"]{background:rgba(225,48,108,0.12); border-color:rgba(225,48,108,0.45);}
.social-row a[aria-label="Instagram"] svg{fill:#E1306C;}
.social-row a[aria-label="Instagram"]:hover{border-color:#E1306C; box-shadow:0 0 18px rgba(225,48,108,0.5);}

.social-row a[aria-label="WhatsApp"]{background:rgba(37,211,102,0.12); border-color:rgba(37,211,102,0.45);}
.social-row a[aria-label="WhatsApp"] svg{fill:#25D366;}
.social-row a[aria-label="WhatsApp"]:hover{border-color:#25D366; box-shadow:0 0 18px rgba(37,211,102,0.5);}

.social-row a[aria-label="Facebook"]{background:rgba(24,119,242,0.12); border-color:rgba(24,119,242,0.45);}
.social-row a[aria-label="Facebook"] svg{fill:#1877F2;}
.social-row a[aria-label="Facebook"]:hover{border-color:#1877F2; box-shadow:0 0 18px rgba(24,119,242,0.5);}
@keyframes floatIcon{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-7px);}
}

/* ---------------- CAROUSEL 3D (rolling gallery, full-bleed, sem margem lateral) ---------------- */
.carousel-wrap{
  margin-top:16px; padding:24px 0; position:relative; overflow:hidden;
  width:100%; background:#ffffff;
}
/* gradientes laterais sólidos (sem blur de vidro), apenas para suavizar o corte das fotos */
.carousel-edge{position:absolute; top:0; bottom:0; width:12%; z-index:5; pointer-events:none;}
.carousel-edge-left{left:0; background:linear-gradient(90deg, #ffffff 10%, transparent);}
.carousel-edge-right{right:0; background:linear-gradient(270deg, #ffffff 10%, transparent);}

.rolling-gallery{
  position:relative; height:340px; width:100%; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  perspective:1200px;
}
.rolling-gallery-track{
  position:relative; height:100%; width:100%;
  display:flex; align-items:center; justify-content:center;
  transform-style:preserve-3d;
  cursor:grab; will-change:transform;
}
.rolling-gallery-track:active{cursor:grabbing;}
.rolling-gallery-face{
  position:absolute; display:flex; align-items:center; justify-content:center;
  backface-visibility:hidden;
}
/* proporção 4:5 fixa em todos os dispositivos */
.rolling-gallery-face img{
  width:220px; height:275px; aspect-ratio:4/5;
  object-fit:cover; object-position:center; border-radius:18px;
  border:3px solid #ffffff; pointer-events:none; user-select:none;
  box-shadow:0 12px 30px rgba(0,0,0,0.18);
  transition:transform .3s ease, filter .3s ease;
}
.rolling-gallery-face:hover img{transform:scale(1.05); filter:brightness(1.08);}

@media (max-width:880px){
  .rolling-gallery{height:260px;}
  .rolling-gallery-face img{width:168px; height:210px;}
}
@media (max-width:600px){
  .rolling-gallery{height:230px;}
  .rolling-gallery-face img{width:148px; height:185px; border-width:2px;}
}

/* ---------------- FOOTER ---------------- */
footer{padding:28px 0 18px; border-top:1px solid rgba(255,255,255,0.08); background:var(--black);}
footer .wrap{display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center;}
.foot-logos{display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap;}
.foot-logos img{height:38px; width:auto; border-radius:4px; opacity:0.92;}
footer p{color:#716f66; font-size:13px; margin:0;}
footer a.policy{color:var(--gray); font-size:13px; text-decoration:underline;}
footer a.policy:hover{color:var(--accent);}

/* ---------------- PÁGINAS SECUNDÁRIAS (obrigado / privacidade) ---------------- */
.simple-page{min-height:100vh; display:flex; align-items:center; justify-content:center; padding:100px 24px 60px; position:relative; overflow:hidden;}
.simple-page::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:radial-gradient(circle at 25% 20%, rgba(239,232,44,0.14), transparent 50%),
             radial-gradient(circle at 80% 80%, rgba(239,232,44,0.10), transparent 45%);
}
.thanks-card{
  max-width:560px; width:100%; text-align:center; border-radius:16px; padding:48px 36px;
  position:relative; z-index:1;
}
.thanks-card::before{content:""; position:absolute; top:-1px; left:24px; right:24px; height:4px; background:var(--accent); border-radius:0 0 4px 4px;}
.check{width:78px; height:78px; margin:0 auto 22px; border-radius:50%; background:rgba(63,174,90,0.15); display:flex; align-items:center; justify-content:center;}
.check svg{width:38px; height:38px; fill:none; stroke:var(--green); stroke-width:3;}
.thanks-card .tag{color:var(--accent); font-weight:800; font-size:13px; letter-spacing:1.5px; text-transform:uppercase; display:block; margin-bottom:10px;}
.thanks-card h1{font-size:clamp(26px,4vw,36px); margin-bottom:16px;}
.thanks-card p{color:var(--gray); font-size:16px; line-height:1.6;}
#greeting{color:var(--white); font-weight:700;}
.divider{height:1px; background:rgba(255,255,255,0.08); margin:30px 0;}
.share-actions{display:flex; flex-direction:column; gap:12px;}
.btn{
  display:flex; align-items:center; justify-content:center; gap:10px; min-height:52px;
  padding:16px; border-radius:10px; font-weight:800; text-decoration:none;
  font-size:15px; text-transform:uppercase; letter-spacing:0.4px; cursor:pointer; border:none;
  font-family:'Manrope',sans-serif;
}
.btn-whats{background:#25D366; color:#04120a;}
.btn-whats:hover{filter:brightness(1.08);}
.btn-copy{background:transparent; color:var(--white); border:1.5px solid rgba(239,232,44,0.4);}
.btn-copy:hover{border-color:var(--accent); box-shadow:0 0 14px rgba(239,232,44,0.35);}
.btn svg{width:20px; height:20px; fill:currentColor;}
.back-link{display:inline-block; margin-top:28px; color:var(--gray); font-size:13px; text-decoration:underline;}
.back-link:hover{color:var(--accent);}
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--accent); color:#04121a; font-weight:700; font-size:14px;
  padding:12px 20px; border-radius:8px; opacity:0; transition:all .25s; pointer-events:none; z-index:20;
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0);}

.page-logo{display:flex; justify-content:center; margin-bottom:22px;}
.page-logo img{height:40px; width:auto;}

/* política de privacidade */
.policy-wrap{max-width:760px; margin:0 auto; padding:60px 24px 80px; position:relative; z-index:1;}
.policy-wrap h1{font-size:clamp(28px,4vw,40px); border-left:4px solid var(--accent); padding-left:16px; margin-bottom:30px;}
.policy-wrap h2{font-size:19px; color:var(--accent); margin-top:36px;}
.policy-wrap p, .policy-wrap li{color:var(--gray); font-size:15.5px;}
.policy-wrap a{color:var(--accent);}