/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  --color-primary:            #7A5C0A;
  --color-primary-fixed:      #F8ECC2;
  --color-primary-container:  #C4920A;
  --color-on-primary:         #FFFFFF;
  --color-on-primary-fixed:   #2D1F00;
  --color-secondary:          #6b5c4c;
  --color-secondary-bg:       #f4dfcb;
  --color-on-secondary-bg:    #716252;
  --color-surface:            #fffbf0;
  --color-surface-low:        #faf4e8;
  --color-surface-mid:        #f5efe3;
  --color-surface-white:      #ffffff;
  --color-surface-high:       #efe9dd;
  --color-text:               #1d1c15;
  --color-text-muted:         #524437;
  --color-border:             #d4c9b8;

  --font-headline: 'Noto Serif', serif;
  --font-body:     'Manrope', sans-serif;

  --shadow:    0 10px 30px rgba(122, 92, 10, 0.08);
  --shadow-lg: 0 20px 60px rgba(122, 92, 10, 0.15);
  --gradient:  linear-gradient(135deg, #7A5C0A 0%, #C4920A 100%);

  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.5rem;
  --radius-full: 9999px;

  --container: 80rem;
  --nav-h:     5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-headline); line-height: 1.15; }
a          { text-decoration: none; color: inherit; }
img        { display: block; max-width: 100%; }
ul         { list-style: none; }

::selection {
  background: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn--primary {
  background: var(--gradient);
  color: var(--color-on-primary);
  box-shadow: var(--shadow);
}
.btn--primary:hover { opacity: 0.9; }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(212, 201, 184, 0.45);
}
.btn--outline:hover { background: var(--color-surface-low); }

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================================
   CARTÕES
   ============================================================ */
.card {
  background: var(--color-surface-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.card--glass {
  background: rgba(255, 251, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ============================================================
   NAVEGAÇÃO
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 251, 240, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 201, 184, 0.15);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: var(--radius-full);
}

.nav__name {
  font-family: var(--font-headline);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.nav__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  padding-inline: 1.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow { margin-bottom: 1.5rem; }

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--color-text);
  margin-bottom: 2rem;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

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

.hero__visual { position: relative; }

.hero__img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero__cert {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  max-width: 13rem;
  border: 1px solid rgba(248, 236, 194, 0.6);
}

.hero__cert-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.hero__cert-header span {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero__cert p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.services {
  padding-block: 6rem;
  background: var(--color-surface-low);
}

.section-header { margin-bottom: 4rem; }

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

.section-header__line {
  width: 5rem;
  height: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

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

/* Card grande */
.services__feature {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services__feature-body h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.services__feature-body p {
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.services__feature-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.services__feature-img img { width: 100%; height: 100%; object-fit: cover; }

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

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text);
}
.checklist svg { color: var(--color-primary); flex-shrink: 0; }

/* Card pequeno */
.services__small {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
}
.services__small:hover { transform: translateY(-4px); }

.services__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.services__icon--secondary { background: var(--color-secondary-bg); color: var(--color-secondary); }
.services__icon--primary   { background: var(--color-primary-fixed); color: var(--color-primary); }

.services__small h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.services__small p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.services__more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 201, 184, 0.2);
  transition: opacity 0.2s;
}
.services__more:hover { opacity: 0.7; }

.services__more span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.services__more svg { color: var(--color-primary); }

.services__cases {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 0.25rem;
  transition: opacity 0.2s;
}
.services__cases:hover { opacity: 0.7; }

/* ============================================================
   GALERIA
   ============================================================ */
.gallery {
  padding-block: 6rem;
  background: var(--color-surface);
}

.gallery__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.gallery__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.gallery__header p {
  color: var(--color-text-muted);
  font-weight: 300;
}

.gallery__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.875rem;
  align-self: flex-start;
  transition: gap 0.2s;
}
.gallery__ig:hover { gap: 0.75rem; }

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

.gallery__item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery__item:hover img { transform: scale(1.1); }

/* ============================================================
   SOBRE
   ============================================================ */
.about {
  padding-block: 6rem;
  background: var(--color-surface-high);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 33%; height: 100%;
  background: rgba(122, 92, 10, 0.05);
  transform: skewX(-12deg) translateX(5rem);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about__content { order: 2; }
.about__visual  { order: 1; }

.about__content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.about__bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
}

.about__cro { padding-top: 1.5rem; }

.about__cro-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.about__cro-number {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.about__visual { display: flex; justify-content: center; }

.about__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.about__photo {
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 12px solid var(--color-surface-white);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.about__badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  background: var(--color-secondary-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.about__badge p {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  line-height: 1.4;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  background: var(--color-surface);
  color: var(--color-text-muted);
  padding-block: 5rem;
  border-top: 1px solid rgba(212, 201, 184, 0.2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: var(--radius-full);
}

.footer__brand-name {
  font-family: var(--font-headline);
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.footer__brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer__tagline { font-size: 0.875rem; font-weight: 300; line-height: 1.6; }

.footer__col-title {
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer__nav { display: flex; flex-direction: column; gap: 1rem; }
.footer__nav a { font-size: 0.875rem; color: var(--color-text-muted); transition: color 0.2s; }
.footer__nav a:hover { color: var(--color-primary); }

.footer__info { display: flex; flex-direction: column; gap: 1rem; }
.footer__info a { font-size: 0.875rem; color: var(--color-text-muted); transition: color 0.2s; }
.footer__info a:hover { color: var(--color-primary); }
.footer__info--highlight { font-weight: 700; color: var(--color-primary) !important; }

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.footer__contact-item svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.125rem; }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 201, 184, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__copy { font-size: 0.75rem; font-weight: 300; }

.footer__socials { display: flex; gap: 1rem; }

.footer__social {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 201, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s;
}
.footer__social:hover {
  background: var(--color-primary-fixed);
  color: var(--color-primary);
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); opacity: 1; }

/* ============================================================
   RESPONSIVO — sm (640px)
   ============================================================ */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}

/* ============================================================
   RESPONSIVO — md (768px)
   ============================================================ */
@media (min-width: 768px) {
  .nav__links { display: flex; }

  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(4) { margin-top: 3rem; }

  .gallery__header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .gallery__ig { align-self: auto; }

  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   RESPONSIVO — lg (1024px)
   ============================================================ */
@media (min-width: 1024px) {
  /* Hero */
  .hero__inner { grid-template-columns: 7fr 5fr; }

  /* Services — grade de 12 colunas */
  .services__grid { grid-template-columns: repeat(12, 1fr); }

  .services__grid > *:nth-child(1) { grid-column: span 8; }
  .services__grid > *:nth-child(2) { grid-column: span 4; }
  .services__grid > *:nth-child(3) { grid-column: span 4; }
  .services__grid > *:nth-child(4) { grid-column: span 8; }

  .services__feature { flex-direction: row; align-items: center; }
  .services__feature--reverse { flex-direction: row-reverse; }
  .services__feature-body,
  .services__feature-img { flex: 1; }
  .services__feature-img { aspect-ratio: 1; }

  /* Sobre */
  .about__grid    { grid-template-columns: 1fr 1fr; }
  .about__content { order: 1; }
  .about__visual  { order: 2; }
}
