/* ============================================
   CONVENIÊNCIA PRAEIRA — style.css
   Mobile-First · CSS3 · Variáveis CSS
   ============================================ */

/* === SEÇÃO: VARIÁVEIS E RESET === */
:root {
  --color-primary:    #1A3A4A;
  --color-primary-dk: #0D2535;
  --color-gold:       #D4A843;
  --color-coral:      #E8724A;
  --color-coral-dk:   #C85A35;
  --color-bg:         #FAF8F5;
  --color-sand:       #F5EFE0;
  --color-text:       #2C2C2C;
  --color-text-muted: #6B7280;
  --color-white:      #FFFFFF;
  --color-border:     #E8E2D9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 24px 60px rgba(0,0,0,.18);

  --transition: 0.28s cubic-bezier(.4,0,.2,1);

  --header-h:   72px;
  --max-w:      1200px;
  --max-w-sm:   720px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === SEÇÃO: UTILIDADES === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow {
  max-width: var(--max-w-sm);
}

.section {
  padding-block: 80px;
}

.section--light { background: var(--color-bg); }
.section--dark  { background: var(--color-primary); }
.section--sand  { background: var(--color-sand); }

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 12px;
}

.section__label--gold { color: var(--color-gold); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}

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

.section__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}

/* === SEÇÃO: BOTÕES === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full { width: 100%; }

.btn--coral {
  background: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(232,114,74,.35);
}
.btn--coral:hover, .btn--coral:focus {
  background: var(--color-coral-dk);
  box-shadow: 0 6px 28px rgba(232,114,74,.45);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover, .btn--primary:focus {
  background: var(--color-primary-dk);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn--outline:hover, .btn--outline:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--color-white);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--color-white);
  box-shadow: 0 2px 12px rgba(37,211,102,.3);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
}
.btn--whatsapp:hover, .btn--whatsapp:focus {
  background: #1DA851;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}

/* Focus visible para acessibilidade */
:focus-visible {
  outline: 3px solid var(--color-coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === SEÇÃO: HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.header.is-scrolled {
  background: var(--color-primary-dk);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header__container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.header__logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -.01em;
}

.header__logo-tagline {
  font-size: .65rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header__nav { display: none; }

.header__nav-list {
  display: flex;
  gap: 4px;
}

.header__nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.header__nav-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
}

.header__nav { margin-left: auto; }

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border-radius: 8px;
  transition: background var(--transition);
}

.header__hamburger:hover { background: rgba(255,255,255,.1); }

.header__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.header__hamburger.is-open .header__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger.is-open .header__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.is-open .header__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.header__mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-primary-dk);
  padding: 24px 20px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  border-bottom: 1px solid rgba(255,255,255,.1);
  z-index: 999;
}

.header__mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
}

.header__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header__mobile-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 12px 16px;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.header__mobile-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.08);
}

.header__mobile-list li:last-child {
  margin-top: 12px;
}

/* === SEÇÃO: HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dk) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Decorative bubbles */
.hero__bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 168, 67, .08);
  pointer-events: none;
}

.hero__bubble--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -120px;
  animation: float 8s ease-in-out infinite;
}

.hero__bubble--2 {
  width: 300px;
  height: 300px;
  bottom: 80px;
  left: -80px;
  background: rgba(232,114,74,.07);
  animation: float 10s ease-in-out infinite reverse;
}

.hero__bubble--3 {
  width: 180px;
  height: 180px;
  top: 40%;
  right: 15%;
  background: rgba(255,255,255,.05);
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.03); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
  padding: 60px 24px;
  animation: fadeUp .8s ease-out both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .8125rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero__stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  font-size: .9rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* Wave */
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 80px;
}

/* === SEÇÃO: PRODUCTS GRID === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.product-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(212,168,67,.12), rgba(232,114,74,.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: background var(--transition);
}

.product-card:hover .product-card__icon {
  background: linear-gradient(135deg, rgba(212,168,67,.22), rgba(232,114,74,.16));
}

.product-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-coral);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card__desc {
  font-size: .8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* === SEÇÃO: FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 72px;
}

.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(212,168,67,.4);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(212,168,67,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card__text {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* === SEÇÃO: TESTIMONIALS === */
.testimonials__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 32px 28px 24px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.testimonial-card--highlight {
  border-color: rgba(212,168,67,.4);
  background: rgba(212,168,67,.06);
}

.testimonial-card__quote {
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: .4;
  pointer-events: none;
  user-select: none;
}

.testimonial-card__text {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 20px;
}

.testimonial-card__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card__stars {
  color: var(--color-gold);
  font-size: .9rem;
  letter-spacing: 2px;
}

.testimonial-card__author {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-white);
  font-style: normal;
}

.testimonial-card__source {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

/* === SEÇÃO: LOCALIZAÇÃO === */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.location-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.location-address__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

.location-address__item svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-coral);
}

.location-address a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-hours { margin-bottom: 28px; }

.location-hours__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.hours-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.hours-table td:first-child { color: var(--color-text-muted); }

.hours-table__time {
  text-align: right;
  font-weight: 600;
  color: var(--color-primary) !important;
}

.hours-table__row--highlight td {
  background: rgba(212,168,67,.08);
  font-weight: 500;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

#map {
  height: 360px;
  width: 100%;
  background: var(--color-border);
}

/* === SEÇÃO: FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child { border-bottom: none; }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  transition: background var(--transition), color var(--transition);
  min-height: 64px;
}

.faq-item__question:hover {
  background: rgba(26,58,74,.04);
}

.faq-item__question.is-open {
  color: var(--color-coral);
  border-left: 3px solid var(--color-gold);
}

.faq-item__icon {
  flex-shrink: 0;
  stroke: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq-item__question.is-open .faq-item__icon {
  transform: rotate(180deg);
  stroke: var(--color-coral);
}

.faq-item__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item__answer:not([hidden]) {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-item__answer[hidden] {
  display: block !important; /* Override hidden for animation */
  max-height: 0;
  padding-block: 0;
}

.faq-item__answer p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item__answer a {
  color: var(--color-coral);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === SEÇÃO: FOOTER === */
.footer {
  background: var(--color-primary-dk);
  padding-top: 60px;
  padding-bottom: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.footer__slogan {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--color-coral);
  border-color: var(--color-coral);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--color-white); }

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

.footer__bottom {
  padding-block: 20px;
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

/* === SEÇÃO: LEAFLET OVERRIDES === */
.leaflet-container {
  font-family: var(--font-body) !important;
}

/* ============================================
   BREAKPOINTS — TABLET (768px)
   ============================================ */
@media (min-width: 768px) {

  .section { padding-block: 100px; }

  .header__hamburger { display: none; }
  .header__nav { display: block; }
  .header__nav + .btn--whatsapp { display: inline-flex; }

  .hero { min-height: 100vh; }
  .hero__actions { flex-direction: row; justify-content: center; }

  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .location-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  #map { height: 420px; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ============================================
   BREAKPOINTS — DESKTOP (1024px)
   ============================================ */
@media (min-width: 1024px) {

  .features-grid { grid-template-columns: repeat(4, 1fr); }

  .product-card { padding: 28px 24px; }
  .product-card__name { font-size: 1.0625rem; }

  #map { height: 460px; }
}

/* ============================================
   BREAKPOINTS — WIDE (1280px)
   ============================================ */
@media (min-width: 1280px) {
  .container { padding-inline: 40px; }
}

/* ============================================
   ACESSIBILIDADE — REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

#map {
  height: 400px; /* Você pode ajustar essa altura como preferir */
  width: 100%;
  border-radius: 8px; /* Opcional: deixa os cantos arredondados */
  z-index: 1; /* Evita que o mapa fique por cima de menus abertos */
}
