/* ============================================================
   ANA'S DELIVERY — Milkshake de Açaí e Copo Trufado
   CSS3 · Flexbox · Grid · Variáveis · Responsivo
   ============================================================ */

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  /* Cores principais */
  --purple-dark: #3e0a55;
  --purple: #5b157d;
  --purple-deep: #4e1764;
  --gold: #f4a61f;
  --green: #7e9e20;
  --dark: #202020;
  --white: #ffffff;
  --cream: #fff8f0;

  /* Cores utilitárias */
  --purple-light-bg: rgba(255, 255, 255, 0.08);
  --border-light: rgba(91, 21, 125, 0.12);
  --shadow-card: 0px 10px 25px 0px rgba(54, 14, 69, 0.14);

  /* Fontes */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Espaçamento */
  --section-padding: clamp(48px, 6vw, 72px);
  --content-max: 1200px;

  /* Transições */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */
.header {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 45%, var(--purple-dark) 100%);
  padding: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-max);
  width: 85%;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 24px) 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: clamp(64px, 8vw, 96px);
  height: clamp(64px, 8vw, 96px);
  object-fit: cover;
}

.nav-name {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-social {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--gold);
  transition: opacity var(--transition);
}

.nav-social:hover {
  opacity: 0.8;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 45%, var(--purple-dark) 100%);
  padding: 0 28px var(--section-padding);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 32px) 0;
}

.hero-image {
  flex: 0 0 clamp(280px, 35vw, 420px);
  height: clamp(280px, 35vw, 420px);
  border-radius: 28px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--white);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--purple-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 166, 31, 0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.5), 0 0 0 4px rgba(244, 166, 31, 0.15);
  border-color: var(--gold);
}

.btn-whatsapp {
  background: var(--gold);
  color: var(--purple-deep);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 166, 31, 0.35);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.3px;
}

.section-title.light {
  color: var(--white);
}

.section-intro {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--dark);
  text-align: center;
  line-height: 1.45;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   PRODUTOS
   ============================================================ */
.products {
  background: var(--white);
  padding: var(--section-padding) 28px;
}

.products .section-title {
  margin-bottom: 8px;
}

.products .section-intro {
  margin-bottom: clamp(24px, 3vw, 30px);
  color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 3px;
}

/* ============================================================
   CARDS DE PRODUTO
   ============================================================ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(54, 14, 69, 0.2);
}

.product-image {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-name {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  text-align: center;
}

.product-volume {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
}

.product-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.differentiators {
  background: var(--purple);
  padding: clamp(48px, 6vw, 64px) 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.differentiators .section-title {
  color: var(--white);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  max-width: var(--content-max);
  width: 100%;
}

.diff-item {
  background: var(--purple-light-bg);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px;
  transition: background var(--transition-slow);
}

.diff-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.diff-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
}

.diff-text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   GALERIA
   ============================================================ */
.gallery {
  background: var(--white);
  padding: var(--section-padding) 28px;
}

.gallery .section-title {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 16px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 10px;
}

.gallery-item {
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(54, 14, 69, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   TESTEMUNHOS
   ============================================================ */
.testimonials {
  background: var(--cream);
  padding: var(--section-padding) 28px;
}

.testimonials .section-title {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--dark);
  text-align: center;
  line-height: 1.45;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--gold);
  padding: clamp(32px, 4vw, 42px) 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  line-height: 0.98;
}

.cta-subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 500;
  color: var(--purple);
  line-height: 1.35;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--purple-dark);
  padding: clamp(40px, 5vw, 56px) 48px;
  display: flex;
  gap: 32px;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 0.85;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.footer-tagline a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.footer-tagline a:hover {
  color: var(--gold);
}

.footer-contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--white);
  line-height: 1.4;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--gold);
}

.footer-link .icon {
  margin-right: 6px;
}

.footer-address {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--white);
  line-height: 1.4;
}

.footer-map {
  flex: 0 0 320px;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-35px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(5px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-image.animate-in {
  transform: translateX(-35px) scale(0.96);
}

.hero-image.animate-in.visible {
  transform: translateX(0) scale(1);
}

.hero-text.animate-in {
  transform: translateX(5px);
}

.hero-text.animate-in.visible {
  transform: translateX(0);
}

/* ============================================================
   MENU MOBILE
   ============================================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Nav links for mobile */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ============================================================
   RESPONSIVIDADE — Notebook / Tablet
   ============================================================ */
@media (max-width: 1199.98px) {
  .nav {
    flex-direction: column;
    gap: 8px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 26px;
  }

  .hero-image {
    flex: 0 0 330px;
    width: 330px;
    height: 330px;
  }

  .hero-text {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: fit-content;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 18px;
  }

  .product-card {
    width: 100%;
  }

  .differentiators-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 12px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 14px;
  }

  .cta {
    flex-direction: column;
    text-align: center;
    gap: 22px;
    padding: 36px 20px;
  }

  .cta-text {
    align-items: center;
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    padding: 48px 20px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-map {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .section-title {
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVIDADE — Celular
   ============================================================ */
@media (max-width: 767.98px) {
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .nav-social {
    font-size: 14px;
  }

  .hero-image {
    width: 100%;
    max-width: 330px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 46px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .products {
    padding: 48px 16px;
  }

  .products-grid {
    max-width: 100%;
    padding: 0;
  }

  .differentiators {
    padding: 48px 16px;
  }

  .differentiators-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .diff-text {
    font-size: 16px;
  }

  .gallery {
    padding: 48px 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
  }

  .gallery-item {
    height: 180px;
  }

  .testimonials {
    padding: 48px 16px;
  }

  .cta {
    padding: 28px 16px;
  }

  .cta-title {
    font-size: 28px;
  }

  .footer {
    padding: 40px 16px;
    gap: 24px;
  }

  .footer-name {
    font-size: 32px;
  }

  .footer-map {
    height: 200px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 16px;
  }
}
