@charset "UTF-8";

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-BlackItalic.woff2') format('woff2'),
        url('../fonts/Poppins-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.woff2') format('woff2'),
        url('../fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Black.woff2') format('woff2'),
        url('../fonts/Poppins-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBoldItalic.woff2') format('woff2'),
        url('../fonts/Poppins-ExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-BoldItalic.woff2') format('woff2'),
        url('../fonts/Poppins-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBold.woff2') format('woff2'),
        url('../fonts/Poppins-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraLightItalic.woff2') format('woff2'),
        url('../fonts/Poppins-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Italic.woff2') format('woff2'),
        url('../fonts/Poppins-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraLight.woff2') format('woff2'),
        url('../fonts/Poppins-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-LightItalic.woff2') format('woff2'),
        url('../fonts/Poppins-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.woff2') format('woff2'),
        url('../fonts/Poppins-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.woff2') format('woff2'),
        url('../fonts/Poppins-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-MediumItalic.woff2') format('woff2'),
        url('../fonts/Poppins-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
        url('../fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'),
        url('../fonts/Poppins-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/Poppins-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Thin.woff2') format('woff2'),
        url('../fonts/Poppins-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ThinItalic.woff2') format('woff2'),
        url('../fonts/Poppins-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* RESET BÁSICO E CONFIGURAÇÕES GLOBAIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* PALETA DE CORES EXTRAÍDA DO LOGO - MODO CLARO */
:root {
  --dieto-dark-green: #1a4929;
  --dieto-light-green: #72a853;
  --dieto-gold: #c9a84a;
  --dieto-gold-darker: #b3933a;
  --gray-600: #4b5563;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --text-color: #1f2937;
  --bg-color: var(--off-white);
  --card-bg: var(--white);
  --header-bg: rgba(255, 255, 255, 0.8);
  --hero-gradient-end: var(--off-white);

  --hero-gradient-start: #f0f7ec; /* NOVO: Início do gradiente claro */
  --hero-gradient-end-color: var(--white); /* NOVO: Fim do gradiente claro */
}

/* PALETA DE CORES - MODO ESCURO (TEMA VERDE) */
.dark-mode {
  --dieto-dark-green: #1a4929;
  --dieto-light-green: #72a853;
  --dieto-gold: #c9a84a;
  --dieto-gold-darker: #b3933a;
  --gray-600: #a0aec0;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --text-color: #e2e8f0;
  --bg-color: #101c14; /* NOVO: Fundo verde muito escuro */
  --card-bg: #1e3526; /* NOVO: Fundo dos cards em verde escuro */
  --header-bg: rgba(
    30,
    53,
    38,
    0.8
  ); /* NOVO: Fundo do cabeçalho verde escuro com transparência */
  --hero-gradient-end: #101c14; /* NOVO: Gradiente termina na cor de fundo */
  --gray-200: #2a4b3a; /* NOVO: Bordas com o verde escuro do logo */
  --gray-300: #d1d5db; /* Mantendo um cinza para compatibilidade */
  /* --gray-300: #4a5568;  Mantendo um cinza para compatibilidade */

  --hero-gradient-start: #22402e; /* NOVO: Início do gradiente escuro */
  --hero-gradient-end-color: #1e3526; /* NOVO: Fim do gradiente escuro */
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* CABEÇALHO */
.main-header {
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  /* font-size: 1.5rem;
  font-weight: 700;
  color: var(--dieto-dark-green);
  text-decoration: none; */
  width: 60px;
  max-width: 60px;
}

.logo > img {
  width: 100%;
}

#logo_branco {
  display: none;
}

/* .logo span {
  color: var(--dieto-light-green);
} */

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.5rem;
  border-radius: 9999px;
}

#theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.dark-mode #theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#theme-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.header-cta {
  background-color: var(--dieto-gold);
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.header-cta:hover {
  background-color: var(--dieto-gold-darker);
  transform: scale(1.05);
}

/* SEÇÃO HERO */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 4rem;
  /* background-color: var(--card-bg); */
  background: linear-gradient(
    145deg,
    var(--hero-gradient-start),
    var(--hero-gradient-end-color) 70%
  );
  transition: background-color 0.3s;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dieto-dark-green);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.dark-mode .hero-text h1 {
  color: var(--white);
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-text .teste {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-cta-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-cta {
  background-color: var(--dieto-light-green);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s, transform 0.3s;
}

.hero-cta:hover {
  background-color: var(--dieto-dark-green);
  transform: scale(1.05);
}

.hero-image-wrapper {
  position: relative;
  margin-top: 2.5rem;
}

.hero-image-wrapper > img {
  padding: 8px;
  background-image: url("../assets/img/bg_colorido.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-gradient {
  height: 8rem;
  margin-top: -1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    var(--hero-gradient-end) 100%
  );
  transition: background 0.3s;
}

/* SEÇÃO DE REDES SOCIAIS */
.contatos_lojas {
  position: fixed;
  right: 0;
  top: 300px;
  z-index: 9999;
  background-color: #f5f5f5;
  box-shadow: -4px 6px 15px 0 rgba(0,0,0,.2);
  border-radius: 24px 0 0 24px;
}
.lateral_item {
  display: flex;
  align-items: center;
  width: 50px;
  padding: 12px;
  transition: 150ms ease-in-out;
}
.lateral_item:hover {
  transform: scale(1.05);
}
.lateral_item > img {
  width: 100%;
}

/* SEÇÃO FUNCIONALIDADES */
.features-section {
  padding: 4rem 0;
  background-color: var(--bg-color);
  transition: background-color 0.3s;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dieto-dark-green);
}

.dark-mode .section-header h2 {
  color: var(--white);
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s, transform 0.3s, background-color 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-0.5rem);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: rgba(201, 168, 74, 0.2);
  color: var(--dieto-gold);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dieto-dark-green);
}

.dark-mode .feature-card h3 {
  color: var(--white);
}

.feature-card p {
  color: var(--gray-600);
}

.features-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

/* SEÇÃO PROVA SOCIAL */
.testimonials-section {
  padding: 4rem 0;
  background-color: var(--card-bg);
  transition: background-color 0.3s;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  transition: background-color 0.3s, border-color 0.3s;
}

.testimonial-card p:first-child {
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.letra-testimonial {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50%;
  margin-right: 1rem;
  background-color: #f5f5f5;
  color: var(--dieto-dark-green)!important;
  font-size: 2rem;
  font-weight: 600;
  font-style: normal !important;
  border: 2px solid #77A350;
}

.testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  margin-right: 1rem;
}

.testimonial-author .name {
  font-weight: 700;
  color: var(--dieto-dark-green);
}

.dark-mode .testimonial-author .name {
  color: var(--white);
}

.testimonial-author .role {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* SEÇÃO IDEALIZADORA */
.founder-section {
  padding: 4rem 0;
  background-color: var(--dieto-dark-green);
  color: var(--white);
}

.founder-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.founder-image-wrapper {
  width: 100%;
}

.founder-image-wrapper img {
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  margin: 0 auto;
  display: block;
  border: 4px solid var(--dieto-gold);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.founder-text {
  text-align: center;
}

.founder-text h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

.founder-text p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--gray-300);
}

.founder-text a {
  margin-top: 1.5rem;
  display: inline-block;
  color: var(--dieto-gold);
  font-weight: 600;
  text-decoration: none;
}

.founder-text a:hover {
  text-decoration: underline;
}

/* SEÇÃO CTA FINAL */
.final-cta-section {
  padding: 4rem 0;
  background-color: var(--card-bg);
  text-align: center;
  transition: background-color 0.3s;
}

.app-stores {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.btn_store {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background-color: var(--off-white);
  color: var(--dieto-dark-green);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.btn_store:hover {
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.btn_store img {
  height: 2rem;
}

/* SEÇÃO NEWSLETTER */
.newsletter-section {
  padding: 4rem 0;
  background-color: var(--bg-color);
  text-align: center;
  transition: background-color 0.3s;
}

.newsletter-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dieto-dark-green);
}

.dark-mode .newsletter-section h3 {
  color: var(--white);
}

.newsletter-section p {
  margin-top: 0.5rem;
  color: var(--gray-600);
}

.newsletter-form {
  margin-top: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--gray-300);
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: border-color 0.3s, background-color 0.3s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--dieto-gold);
}

.newsletter-form button {
  background-color: var(--dieto-dark-green);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: var(--dieto-light-green);
}

.newsletter-section .container a {
  width: 250px;
  padding: 12px 16px;
  border-radius: 12px;
  margin: 8px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  background-color: var(--dieto-light-green);
  transition: transform 0.3s;
}

.newsletter-section .container a:hover {
  transform: scale(1.05);
}

.newsletter-section .container a .icon_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12%;
}

.newsletter-section .container a .icon_wrapper img {
  width: 100%;
}

/* RODAPÉ */
.main-footer {
  background-color: var(--dieto-dark-green);
  color: var(--white);
}

.main-footer .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* MEDIA QUERIES PARA RESPONSIVIDADE */
@media (min-width: 768px) {
  .lateral_item {
    width: 70px;
    padding: 12px 24px 12px 12px;
  }
  /* md breakpoint */
  .header-cta {
    display: inline-block;
  }
  .hero-section .container {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text {
    text-align: left;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-cta-container {
    /* justify-content: flex-start; */
  }
  .hero-image-wrapper {
    margin-top: 0;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .founder-section .container {
    grid-template-columns: 2fr 3fr;
  }
  .founder-image-wrapper img {
    width: 100%;
    height: auto;
  }
  .founder-text {
    text-align: left;
  }
  .app-stores {
    flex-direction: row;
  }
  .newsletter-form {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  /* lg breakpoint */
  .hero-text h1 {
    font-size: 3.75rem;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Esconder o botão de baixar no header em telas pequenas */
.header-cta {
  display: none;
}
