/* ============================================================
   BRODDO — Identidade Visual
   Paleta oficial (Manual de Marca):
     #234A7F  Azul navy   (primária)
     #A91A1D  Vermelho     (secundária)
     #87A8C4  Azul claro   (terciária)
     #F2EADF  Creme        (fundo neutro)
   Tipografia:
     Cooperative Regular → títulos / palavras em destaque
     Satoshi 2           → textos corridos
============================================================ */

/* ============================================================
   FONTS
============================================================ */

@font-face {
  font-family: 'Cooperative';
  src: url('../fonts/Cooperative-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-2.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   CUSTOM PROPERTIES
============================================================ */

:root {
  --navy:       #234A7F;
  --red:        #A91A1D;
  --blue-light: #87A8C4;
  --cream:      #F2EADF;
  --white:      #ffffff;

  --font-display: 'Cooperative', sans-serif;
  --font-body:    'Satoshi', sans-serif;

  --nav-h: 72px;
  --max-w: 1200px;
  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --gutter: 1.5rem;
}

/* ============================================================
   RESET / BASE
============================================================ */

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

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   BUTTONS
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  min-height: 48px;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover  { opacity: 0.86; transform: translateY(-1px); }
.btn:active { opacity: 0.92; transform: translateY(0);    }

.btn--primary { background: var(--red);   color: var(--white); }
.btn--cream   { background: var(--cream); color: var(--navy);  }
.btn--outline {
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
}
.btn--outline-light {
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
}

.btn--hero {
  background: var(--red);
  color: var(--white);
  font-size: 1.05rem;
  padding: 18px 52px;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 24px rgba(169, 26, 29, 0.4);
}

.btn--hero-ghost {
  background: transparent;
  color: var(--white);
  font-size: 1.05rem;
  padding: 18px 52px;
  letter-spacing: 0.14em;
  border: 2px solid var(--white);
}
.btn--hero-ghost:hover { background: rgba(255,255,255,0.12); opacity: 1; }

.btn--hero-navy {
  background: var(--navy);
  color: var(--white);
  font-size: 1.05rem;
  padding: 18px 52px;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 24px rgba(35, 74, 127, 0.5);
}
.btn--hero-navy:hover { background: #1b3a64; opacity: 1; }

.btn--sm {
  font-size: 0.8rem;
  padding: 10px 22px;
  min-height: 40px;
}

/* ============================================================
   SECTION TITLE
============================================================ */

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

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

/* ============================================================
   NAVIGATION
============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 2px solid var(--navy);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(35, 74, 127, 0.18);
}

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo img {
  height: 52px;
  width: auto;
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 2px solid var(--navy);
  padding: 0.75rem var(--gutter) 1rem;
}

.nav__menu.open {
  display: flex;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(35, 74, 127, 0.1);
  display: block;
  transition: color 0.2s ease;
}

.nav__link:hover  { color: var(--red); }
.nav__link:last-of-type { border-bottom: none; }

.nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 2px;
  min-height: 44px;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

.nav__cta:hover { background: var(--red); }

/* Desktop nav */
@media (min-width: 1025px) {
  .nav__toggle { display: none; }

  .nav__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }

  .nav__link {
    font-size: 0.9rem;
    padding: 0;
    border: none;
  }

  .nav__cta { margin-top: 0; }
}

/* ============================================================
   HERO
============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(35, 74, 127, 0.72) 0%,
    rgba(35, 74, 127, 0.58) 60%,
    rgba(35, 74, 127, 0.8) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3rem);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  text-align: center;
}

.hero__logo {
  width: clamp(240px, 60vw, 380px);
  height: auto;
  filter: brightness(0) invert(1);
  drop-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

/* ============================================================
   SOBRE
============================================================ */

.sobre {
  background: var(--cream);
  padding: var(--section-pad) var(--gutter);
}

.sobre__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.sobre__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.sobre__desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.88;
}

.sobre__btn {
  margin-top: 1rem;
}

.google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.google-reviews:hover { opacity: 0.8; }
.google-reviews__stars {
  font-size: 0.95rem;
  color: #FBBC04;
  letter-spacing: 0.04em;
  line-height: 1;
}
.google-reviews__count {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--navy);
  opacity: 0.7;
  line-height: 1;
}

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

.sobre__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 2px;
}

.sobre__img--secondary {
  display: none;
}

@media (min-width: 768px) {
  .sobre__container {
    grid-template-columns: 1fr 1fr;
  }

  .sobre__media {
    grid-template-columns: 1fr;
  }

  .sobre__img {
    height: 460px;
  }

  .sobre__img--secondary {
    display: block;
    height: 220px;
  }
}

@media (min-width: 1025px) {
  .sobre__media {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .sobre__img {
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center top;
  }

  .sobre__img--secondary {
    display: none;
  }
}

/* ============================================================
   CARDÁPIO
============================================================ */

.cardapio {
  background: var(--navy);
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

.cardapio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../icons/padrao-azul.png');
  background-size: 480px;
  background-repeat: repeat;
  opacity: 0.06;
}

.cardapio__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.cardapio__fish {
  margin: 0 auto 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.35;
}

.cardapio__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.cardapio__sub {
  font-family: var(--font-body);
  color: var(--blue-light);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.cardapio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 600px) {
  .cardapio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
}

.card__img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__img {
  transform: scale(1.05);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 74, 127, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.card:hover .card__overlay,
.card:focus-within .card__overlay {
  opacity: 1;
}

.card__overlay-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1.5px solid var(--cream);
  padding: 9px 22px;
  border-radius: 2px;
  pointer-events: none;
}

.card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}

.card__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding: 0.75rem 1rem;
}

.cardapio__cta {
  text-align: center;
}

/* ============================================================
   LOCALIZAÇÃO
============================================================ */

.localizacao {
  background: var(--cream);
  padding: var(--section-pad) var(--gutter);
}

.localizacao__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.localizacao__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.localizacao__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.localizacao__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--red);
  border-radius: 0 2px 2px 0;
}

.localizacao__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.localizacao__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
}

.localizacao__addr {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  opacity: 0.7;
}

.localizacao__link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  transition: color 0.2s ease;
  display: block;
}

.localizacao__link:hover { color: var(--red); }

.localizacao__map {
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid var(--navy);
}

.localizacao__map iframe {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  .localizacao__body {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   HORÁRIO
============================================================ */

.horario {
  background: var(--white);
  padding: var(--section-pad) var(--gutter);
  border-top: 4px solid var(--cream);
}

.horario__container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.horario__deco {
  margin: 0 auto 1.5rem;
  opacity: 0.15;
}

.horario .section-title {
  margin-bottom: 2.5rem;
}

.horario__table {
  border: 2px solid var(--navy);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.horario__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.horario__row:not(:last-child) {
  border-bottom: 1px solid rgba(35, 74, 127, 0.12);
}

.horario__row:nth-child(even) {
  background: var(--cream);
}

.horario__day {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  text-align: left;
}

.horario__time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--red);
  text-align: right;
  white-space: nowrap;
}

.horario__time--closed {
  color: var(--blue-light);
}

.horario__note {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--navy);
  opacity: 0.55;
  font-style: italic;
  margin-bottom: 2rem;
}

.horario__btn {
  margin-top: 0;
}

/* ============================================================
   CONTATO
============================================================ */

.contato {
  background: var(--navy);
  padding: var(--section-pad) var(--gutter);
}

.contato__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.contato__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .contato__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contato__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2rem 1rem;
  background: rgba(242, 234, 223, 0.06);
  border: 1px solid rgba(242, 234, 223, 0.18);
  border-radius: 2px;
  color: var(--cream);
  min-height: 44px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contato__card:hover {
  background: rgba(242, 234, 223, 0.13);
  border-color: var(--blue-light);
}

.contato__icon {
  width: 32px;
  height: 32px;
  color: var(--blue-light);
}

.contato__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
}

.contato__value {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--cream);
  line-height: 1.4;
  word-break: break-word;
}

/* ============================================================
   INSTAGRAM
============================================================ */

.instagram {
  background: var(--red);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.instagram__pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: url('../icons/padrao-vermelho.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  opacity: 0.1;
}

.instagram__container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.instagram__fish {
  filter: brightness(0) invert(1);
  opacity: 0.25;
}

.instagram__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
}

.instagram__sub {
  font-family: var(--font-body);
  color: var(--cream);
  opacity: 0.88;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 460px;
}

/* ============================================================
   WHATSAPP FLUTUANTE
============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
}

/* ============================================================
   FOOTER
============================================================ */

.footer {
  background: var(--navy);
  border-top: 4px solid var(--red);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
}

.footer__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1025px) {
  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__logo {
  filter: brightness(0) invert(1);
  width: 140px;
  height: auto;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--blue-light);
  font-style: italic;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--blue-light);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer__col a:hover { color: var(--cream); }

.footer__cardapio-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--blue-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.footer__cta { align-self: flex-start; }

.footer__bottom {
  border-top: 1px solid rgba(242, 234, 223, 0.12);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--blue-light);
  opacity: 0.6;
}

/* ============================================================
   ACCESSIBILITY
============================================================ */

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
