/* ===========================================================
   Ótica em Fortaleza — Landing Page
   Vermelho da marca + preto + branco
   =========================================================== */

:root {
  --red: #e9060c;
  --red-dark: #b3040a;
  --red-darker: #7a0307;
  --red-bg: #fdeceb;

  --black: #161616;
  --gray-900: #262626;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #d9d9d9;
  --gray-200: #e8e8e8;
  --gray-100: #f6f6f4;
  --white: #ffffff;

  --text: var(--gray-900);
  --text-muted: var(--gray-700);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1160px;
  --header-h: 78px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.22;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { color: var(--text-muted); }

.section { padding: 80px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .tag {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.section-head p { margin-top: 12px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(233, 6, 12, 0.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { flex-shrink: 0; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(22, 22, 22, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header__logo {
  display: flex;
  align-items: center;
}
.header__logo img { height: 36px; width: auto; display: block; }
.header__cta .btn { padding: 11px 22px; font-size: 0.92rem; }
.header__cta .cta-short { display: none; }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 48px) 0 72px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233, 6, 12, 0.15);
  color: #ff8a8d;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 span { color: var(--red); }
.hero p.lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__badges li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero__badges li svg { color: var(--red); flex-shrink: 0; width: 14px; height: 14px; }
.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ===== Sobre ===== */
.sobre__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.sobre__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 8/5;
  object-fit: cover;
}
.sobre__content h2 { margin-bottom: 16px; }
.sobre__content p { margin-bottom: 20px; }

/* ===== Serviços ===== */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.servico-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.servico-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.servico-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--red-bg);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.servico-card h3 { margin-bottom: 10px; }

/* ===== Diferenciais ===== */
.diferenciais__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.diferenciais__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
}
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.diferencial-item { display: flex; gap: 14px; }
.diferencial-item__icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
.diferencial-item h3 { font-size: 1rem; margin-bottom: 4px; }
.diferencial-item p { font-size: 0.92rem; }

/* ===== Galeria ===== */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.galeria-item {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.galeria-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: var(--transition);
}
.galeria-item:hover img { transform: scale(1.05); }
.galeria-item__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

/* ===== Como funciona ===== */
.passos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.passo-card { text-align: center; }
.passo-card__num {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.passo-card h3 { margin-bottom: 8px; }

/* ===== FAQ ===== */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--black);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--red-bg);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 16px; }

/* ===== CTA final ===== */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 14px; }
.cta-final p { max-width: 520px; margin: 0 auto 30px; }

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__logo { margin-bottom: 14px; }
.footer__logo img { height: 42px; width: auto; display: block; }
.footer h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer address, .footer p { font-style: normal; font-size: 0.92rem; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer__map iframe {
  width: 100%;
  height: 160px;
  border: 0;
  border-radius: var(--radius-sm);
  filter: grayscale(0.3);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 620px;
  margin: 0 auto;
  background: var(--black);
  color: var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}
.cookie-banner p { margin-bottom: 16px; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner__actions .btn { flex: 1; text-align: center; white-space: nowrap; }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; background: transparent; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .hero__inner, .sobre__inner, .diferenciais__inner { grid-template-columns: 1fr; }
  .hero__media, .sobre__media, .diferenciais__media { order: -1; }
  .servicos__grid { grid-template-columns: 1fr; }
  .passos__grid { grid-template-columns: 1fr; gap: 34px; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .header__cta .cta-full { display: none; }
  .header__cta .cta-short { display: inline; }
}
