﻿/* ============================================================
   PODIUM MANGUEIRAS — Base stylesheet (shared by all pages)
   Base font: 1rem = 16px (browser default). All sizes in rem.
   ============================================================ */

/* --- Tokens --- */
:root {
  --clr-red:       #cc1220;
  --clr-red-dark:  #a80e1a;
  --clr-red-strip: #e31527;
  --clr-yellow:    #f5c01c;
  --clr-yellow-dk: #d4a200;
  --clr-bg:        #f5f6f8;
  --clr-bg-alt:    #eff0f2;
  --clr-white:     #ffffff;
  --clr-text:      #1a1a1a;
  --clr-text-mid:  #4a4a52;
  --clr-text-muted:#6b6b75;
  --clr-border:    #e2e2e6;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --radius-card:   14px;
  --radius-btn:    8px;
}

/* --- Reset base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-bg);
}

/* ============================================================
   TYPOGRAPHY — global tag defaults
   ============================================================ */
h1 { font-size: 2.125rem; } /* 34px */
h2 { font-size: 1.75rem;  } /* 28px */
h3 { font-size: 1.625rem; } /* 26px */
p  { font-size: 1.125rem; } /* 18px */
span { font-size: 1rem;   } /* 16px */

/* ============================================================
   Containers
   ============================================================ */
.inner-container {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.nav-container {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1030;
}

.navbar {
  padding-block: 0.75rem;
  min-height: 80px;
}

/* Nav links */
.nav-item {
  font-size: 1rem;
  font-weight: 500;
  color: #3a2a2c;
  padding: 0px 30px;
  transition: color .18s;
}
.nav-item-link:hover,
.nav-item-link:focus-visible,
.nav-item-link.active { color: var(--clr-red); }

/* Fale conosco */
.btn-fale {
  background: var(--clr-yellow);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  padding: 0px 15px;
  border-radius: var(--radius-btn);
  border: none;
  transition: background .18s, box-shadow .18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-fale:hover,
.btn-fale:focus-visible {
  background: var(--clr-yellow-dk);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.sec {
  padding-block: 120px;
}

.sec-title {
  font-size: 1.75rem; /* 28px */
  font-weight: 700;
  color: var(--clr-red);
  line-height: 1.2;
  margin-bottom: 0;
}

.sec-sub {
  font-size: 0.9375rem;
  color: var(--clr-text);
  margin-top: 0.75rem;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.55;
}

/* ============================================================
   IMAGE PLACEHOLDER (shared)
   ============================================================ */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-red-strip);
  color: var(--clr-white);
  padding-block: 3.5rem 3rem;
}


.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  max-width: 360px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--clr-white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .18s;
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--clr-yellow); }

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.footer-contact i { font-size: 1rem; flex-shrink: 0; }
.footer-contact a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--clr-yellow); }

/* Social buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--clr-yellow);
  color: #1a1a1a;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background .18s, transform .15s;
}
.social-btn:hover,
.social-btn:focus-visible {
  background: var(--clr-yellow-dk);
  color: #1a1a1a;
  transform: translateY(-1px);
}

.social-btn--circle {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.footer-copyright {
  margin-top: 2.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.7);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .22s, box-shadow .22s, background .18s;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1ebe5d;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}
.whatsapp-float i {
  font-size: 1.75rem;
  color: #fff;
  line-height: 1;
}
.whatsapp-float::before {
  content: 'Fale conosco';
  position: absolute;
  right: calc(100% + 10px);
  background: #1a1a1a;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.whatsapp-float:hover::before { opacity: 1; }

/* ============================================================
   RESPONSIVE — shared
   ============================================================ */
@media (max-width: 991px) {
  .navbar { min-height: 72px; }
  .logo-oval { width: 150px; height: 54px; }
  .logo-text-top { font-size: 1.4rem; }
}

@media (max-width: 767px) {
  .sec-title { font-size: 1.75rem; }
  .footer-desc { max-width: 100%; }
  .sec { padding-block: 20px; }
}

/* Scroll offset for sticky header */
.sec[id],
footer[id],
main[id] {
  scroll-margin-top: 80px;
}
@media (max-width: 991px) {
  .sec[id],
  footer[id],
  main[id] {
    scroll-margin-top: 72px;
  }
}

@media (max-width: 480px) {
  .inner-container,
  .nav-container { padding-inline: 0.75rem; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
  .whatsapp-float i { font-size: 1.5rem; }
  .whatsapp-float::before { display: none; }
}

/* ============================================================
   FOOTER — mobile: centered column
   ============================================================ */
@media (max-width: 767px) {
  .site-footer .row > [class*="col-"] {
    text-align: center;
  }
  .site-footer .footer-desc {
    max-width: 100%;
    margin-inline: auto;
  }
  .site-footer .d-flex.gap-2 {
    justify-content: center;
  }
  .site-footer .footer-contact li {
    justify-content: center;
    text-align: left;
  }
  .site-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-footer .logo-oval,
  .site-footer .logo-oval--sm {
    margin-inline: auto;
  }
}
