/* Chef Isadora Marar — versão HTML/CSS/JS/PHP */

:root {
  --borgonha: #8b1e1e;
  --creme: #faf6f0;
  --terracota: #c86446;
  --grafite: #2d2523;
  --whatsapp: #25d366;
  --card: #fffdfa;
  --border: #e6ddd2;
  --muted: #7a6c64;
  --shadow-sm: 0 1px 3px rgba(45, 37, 35, 0.08);
  --shadow-md: 0 10px 24px rgba(45, 37, 35, 0.1);
  --shadow-lg: 0 20px 45px rgba(45, 37, 35, 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--creme);
  color: var(--grafite);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--borgonha);
}

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

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

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: rgba(200, 100, 70, 0.07);
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracota);
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-top: 1rem;
}

.lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: rgba(45, 37, 35, 0.82);
}

.narrow {
  max-width: 42rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.btn--primary {
  background: var(--borgonha);
  color: var(--creme);
}
.btn--primary:hover {
  background: var(--terracota);
}

.btn--whats {
  background: var(--whatsapp);
  color: #0b3d20;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}
.btn--whats:hover {
  transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(139, 30, 30, 0.4);
  color: var(--borgonha);
}
.btn--outline:hover {
  border-color: var(--terracota);
  color: var(--terracota);
}

.btn--light {
  background: var(--creme);
  color: var(--borgonha);
}
.btn--light:hover {
  background: var(--terracota);
  color: var(--creme);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 221, 210, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: 1152px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(139, 30, 30, 0.25);
}

.brand__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--borgonha);
  display: block;
}

.brand__tag {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--terracota);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__cta {
  display: none;
}

.burger {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--borgonha);
  cursor: pointer;
}

.burger svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  background: rgba(250, 246, 240, 0.98);
  border-top: 1px solid rgba(230, 221, 210, 0.8);
}

.mobile-nav.is-open {
  max-height: 26rem;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  max-width: 1152px;
  margin: 0 auto;
}

.mobile-nav a {
  padding: 0.65rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.mobile-nav a.btn {
  margin-top: 0.5rem;
  padding: 0.85rem 1.5rem;
}

.mobile-nav a:not(.btn):hover {
  background: rgba(200, 100, 70, 0.1);
  color: var(--borgonha);
}

/* Hero */
.hero {
  padding: 7rem 0 4rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
}

.hero__text {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(45, 37, 35, 0.82);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

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

.hero__images img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  height: 9.5rem;
}

.hero__images img:first-child {
  grid-column: span 2;
  height: 17rem;
  box-shadow: var(--shadow-lg);
}

/* Sobre */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__photo {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.about__text {
  margin-top: 1.5rem;
  color: rgba(45, 37, 35, 0.82);
}

.about__text p + p {
  margin-top: 1rem;
}

.card-artesanal {
  margin-top: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.card-artesanal p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  color: var(--borgonha);
}

.card-artesanal ul {
  margin-top: 1rem;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.card-artesanal li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(45, 37, 35, 0.82);
}

.card-artesanal li::before {
  content: "";
  margin-top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--terracota);
}

/* Mídia */
.media__card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.media__card blockquote {
  margin-top: 1.5rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

.media__meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.media__quote {
  margin: 2rem auto 0;
  max-width: 42rem;
  font-style: italic;
  color: rgba(45, 37, 35, 0.82);
}

.media__card .btn {
  margin-top: 2rem;
}

/* Experiências */
.grid-cards {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}

.exp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 100, 70, 0.4);
  box-shadow: var(--shadow-md);
}

.exp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(139, 30, 30, 0.1);
  color: var(--borgonha);
}

.exp-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.exp-card h3 {
  margin-top: 1.25rem;
  font-size: 1.2rem;
}

.exp-card p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(45, 37, 35, 0.78);
}

/* Galeria */
.gallery {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.gallery img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--creme);
  background: linear-gradient(to top, rgba(139, 30, 30, 0.88), transparent);
}

.gallery-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Orçamento */
.quote {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--borgonha);
  color: var(--creme);
  border-radius: 1.75rem;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
}

.quote .eyebrow {
  color: rgba(250, 246, 240, 0.72);
}

.quote h2 {
  color: var(--creme);
  margin-top: 1rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.quote__intro {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 0.95rem;
  color: rgba(250, 246, 240, 0.86);
}

.quote form {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.82);
}

.field input,
.field select,
.field textarea {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(250, 246, 240, 0.28);
  background: rgba(250, 246, 240, 0.1);
  color: var(--creme);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.9rem;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(250, 246, 240, 0.6);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(250, 246, 240, 0.65);
}

.field select option {
  color: var(--grafite);
}

.quote .btn {
  width: 100%;
}

.quote__alt {
  margin-top: 1.25rem;
  width: 100%;
}

.form-error {
  margin-top: 1.25rem;
  background: rgba(250, 246, 240, 0.14);
  border: 1px solid rgba(250, 246, 240, 0.3);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
}

/* Rodapé */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(200, 100, 70, 0.07);
}

.footer__inner {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 1.25rem;
  max-width: 1152px;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

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

.footer__brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  object-fit: cover;
}

.footer__brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  color: var(--borgonha);
  font-weight: 600;
}

.footer__brand span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.footer__links a svg {
  width: 1rem;
  height: 1rem;
}

.footer__links a:hover {
  border-color: var(--terracota);
  color: var(--terracota);
}

.footer__links a.is-whats {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #0b3d20;
  font-weight: 500;
}

.footer__links a.is-whats:hover {
  color: #0b3d20;
  opacity: 0.9;
}

.footer__copy {
  border-top: 1px solid rgba(230, 221, 210, 0.7);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* WhatsApp flutuante */
.float-whats {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.float-whats__label {
  display: none;
  background: var(--borgonha);
  color: var(--creme);
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: var(--shadow-md);
}

.float-whats:hover .float-whats__label {
  opacity: 1;
}

.float-whats__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #0b3d20;
  box-shadow: var(--shadow-lg);
}

.float-whats__btn svg {
  width: 1.75rem;
  height: 1.75rem;
}

.float-whats__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--whatsapp);
  animation: pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-whats__btn::before {
    animation: none;
  }
}

/* Breakpoints */
@media (min-width: 640px) {
  .section {
    padding: 5.5rem 0;
  }
  .hero {
    padding: 9rem 0 5.5rem;
  }
  .hero__actions {
    flex-direction: row;
  }
  .hero__images img {
    height: 11rem;
  }
  .hero__images img:first-child {
    height: 20rem;
  }
  .grid-cards,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .header__cta {
    display: inline-flex;
  }
  .quote {
    padding: 3rem;
  }
  .quote form {
    grid-template-columns: 1fr 1fr;
  }
  .field--full,
  .quote form .btn {
    grid-column: 1 / -1;
  }
  .media__card {
    padding: 3rem;
  }
  .footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    text-align: left;
    justify-items: start;
  }
  .footer__brand {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .footer__links {
    justify-self: end;
  }
  .float-whats__label {
    display: block;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .burger {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .about__grid {
    grid-template-columns: 0.85fr 1fr;
  }
  .grid-cards,
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
