/* =========================================================
   NICOLLE Scarlata - HOME
   HTML + CSS puro
   ========================================================= */

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #efebe4;
  --surface-dark: #314039;

  --text: #2f312f;
  --muted: #6f746f;
  --line: #ded9d1;

  --brand: #52665d;
  --brand-dark: #34443d;
  --brand-soft: #dfe7e2;

  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 16px;

  --shadow: 0 18px 55px rgba(42, 48, 44, 0.10);

  --container: 1180px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin-bottom: 22px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 9999;
  background: var(--text);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 18px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222, 217, 209, 0.72);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-dark);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: -0.05em;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 1.04rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav > a:not(.btn) {
  position: relative;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--brand);
  transition: right var(--transition);
}

.nav > a:not(.btn):hover::after {
  right: 0;
}

.menu-toggle,
.menu-button {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-dark);
  color: var(--white);
  font-weight: 700;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  background: #283630;
}

.btn-small {
  min-height: 44px;
  padding-inline: 19px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
}

.btn-outline:hover {
  color: var(--white);
}

.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-dark);
}

.btn-light:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* Common */

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #dbe6e0;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head > p {
  max-width: 420px;
  margin-bottom: 8px;
}

.section-center {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

/* Hero */

.hero {
  padding: 72px 0 92px;
  overflow: hidden;
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 80px;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  margin: 16px 0 24px;
}

.hero h1 em {
  color: var(--brand);
  font-weight: 600;
}

.hero-description {
  max-width: 620px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-card {
  position: relative;
  min-height: 640px;
  padding: 18px 18px 0;
  border-radius: 46% 46% 24px 24px;
  background: var(--brand-soft);
}

.photo-card img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 45% 45% 18px 18px;
}

.photo-badge {
  position: absolute;
  left: -42px;
  bottom: 38px;
  width: min(315px, 80%);
  padding: 22px 24px;
  display: grid;
  gap: 3px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
}

.photo-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
}

.photo-badge span {
  color: var(--muted);
  font-size: 0.84rem;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.58);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
  background: var(--surface);
}

.service-card .number,
.feature-card > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 40px 0 10px;
}

.service-card p {
  margin-bottom: 26px;
  font-size: 0.9rem;
}

.service-card .link {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 700;
}

.service-card-dark {
  background: var(--surface-dark);
  color: var(--white);
  border-color: var(--surface-dark);
}

.service-card-dark:hover {
  background: #28362f;
}

.service-card-dark p,
.service-card-dark .link {
  color: #e0e8e4;
}

.service-card-dark .number {
  background: rgba(255,255,255,.14);
  color: var(--white);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 88px;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  border-radius: 40% 40% var(--radius) var(--radius);
}

.mini-card {
  position: absolute;
  right: -24px;
  bottom: 34px;
  width: 265px;
  padding: 20px 22px;
  display: grid;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.mini-card strong {
  font-family: "Playfair Display", serif;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.about-content > p {
  max-width: 630px;
}

.about-list {
  margin-top: 38px;
  border-top: 1px solid #d4cec5;
}

.about-list div {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #d4cec5;
}

.about-list span {
  color: var(--brand);
  font-size: 0.78rem;
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(42, 48, 44, 0.06);
}

.feature-card h3 {
  margin: 30px 0 12px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Split section */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--surface-dark);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 8vw, 110px);
  color: var(--white);
}

.split-content h2 {
  max-width: 650px;
}

.split-content p {
  max-width: 600px;
  color: #d8e1dc;
  font-size: 1.05rem;
}

.text-link {
  margin-top: 18px;
  color: var(--white);
  font-weight: 700;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
}

.faq-intro {
  max-width: 430px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 21px;
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  max-width: 700px;
  padding: 0 32px 24px 0;
}

/* CTA */

.cta-section {
  padding: 28px 0 80px;
}

.cta-box {
  min-height: 340px;
  padding: 58px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 32px;
  background: var(--surface-dark);
  color: var(--white);
}

.cta-box h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.cta-box p {
  max-width: 680px;
  margin-bottom: 0;
  color: #d9e2dd;
}

/* Footer */

.footer {
  padding: 72px 0 28px;
  background: #e9e4dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 70px;
}

.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a,
.footer-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy {
  max-width: 400px;
  margin-top: 20px;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #d2ccc3;
  color: var(--muted);
  font-size: 0.75rem;
}

/* WhatsApp floating */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    width: 62px;
    height: 62px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #ffffff;

    border-radius: 50%;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);

    text-decoration: none;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
/* Responsive */

@media (max-width: 1050px) {
  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-grid,
  .faq-grid {
    gap: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .nav {
    gap: 16px;
  }

  .nav > a:not(.btn) {
    display: none;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 80px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 25px;
    height: 2px;
    justify-self: end;
    background: var(--text);
  }

  .nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav > a:not(.btn) {
    display: block;
    padding: 11px 8px;
  }

  .nav > a:not(.btn)::after {
    display: none;
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

  .hero {
    padding: 50px 0 74px;
  }

  .hero-grid,
  .about-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-content {
    order: 1;
  }

  .photo-card {
    order: 2;
    max-width: 650px;
    min-height: auto;
    margin: 10px auto 0;
  }

  .photo-card img {
    height: auto;
  }

  .photo-badge {
    left: 18px;
  }

  .section-head {
    display: block;
  }

  .section-head > p {
    margin-top: 14px;
  }

  .about-photo {
    max-width: 650px;
    margin-inline: auto;
  }

  .about-photo img {
    height: auto;
  }

  .mini-card {
    right: 18px;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .split-image img {
    min-height: 430px;
    max-height: 560px;
  }

  .split-content {
    padding: 70px 30px;
  }

  .cta-box {
    padding: 44px 34px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

  .photo-card {
    padding: 10px 10px 0;
    border-radius: 44% 44% 18px 18px;
  }

  .photo-badge {
    position: static;
    width: calc(100% - 16px);
    margin: -28px auto 0;
    transform: translateY(10px);
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .mini-card {
    position: static;
    width: calc(100% - 24px);
    margin: -30px auto 0;
    transform: translateY(12px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* Acessibilidade: reduz animações quando solicitado pelo sistema */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
