/* =========================
   FONTES
========================= */

/* Nunito Regular */
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/Nunito-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Nunito SemiBold */
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/Nunito-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Nunito Bold */
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/Nunito-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Pacifico */
@font-face {
  font-family: "Pacifico";
  src: url("../assets/fonts/Pacifico-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 1. RESET (Meyer Reset v2.0)
   ========================================================== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 2. DESIGN TOKENS (Variáveis Globais)
   ========================================================== */
:root {
  /* Paleta principal */
  --primary-color: #f8bbd0;
  --primary-dark: #c2185b;
  --primary-deeper: #ad1457;
  --primary-vivid: #e91e8c;
  --primary-deep-alt: #d81b60;
  --accent-color: #7b1fa2;

  /* Cores utilitárias */
  --color-white: #ffffff;
  --color-off-white: #f1f1f1;
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-85: rgba(255, 255, 255, 0.85);
  --color-instagram-pink: #c2185b;
  --color-instagram-btn-hover: #fce4ec;
  --color-whatsapp: #25d366;

  /* Fundos */
  --bg-light: #fffcfd;
  --bg-gray: #fdfbfb;
  --color-bg-hero-start: #fff0f5;
  --color-bg-hero-mid: #fce4ec;
  --color-bg-hero-end: #e0f7fa;

  /* Texto */
  --text-dark: #4a4a4a;
  --text-light: #6b6b6b;
  --text-muted-on-dark: #e0e0e0;

  /* Sombras — primária */
  --shadow-primary-sm: rgba(240, 98, 146, 0.3);
  --shadow-primary-md: rgba(240, 98, 146, 0.4);
  --color-primary-overlay: rgba(240, 98, 146, 0.6);

  /* Sombras — neutras */
  --shadow-dark-xs: rgba(0, 0, 0, 0.03);
  --shadow-dark-sm: rgba(0, 0, 0, 0.05);
  --shadow-dark-md: rgba(0, 0, 0, 0.1);
  --shadow-dark-lg: rgba(0, 0, 0, 0.15);
  --shadow-dark-xl: rgba(0, 0, 0, 0.2);
  --shadow-dark-2xl: rgba(0, 0, 0, 0.3);
  --shadow-dark-overlay: rgba(0, 0, 0, 0.8);

  /* Tipografia — famílias */
  --font-main: "Nunito", sans-serif;
  --font-logo: "Pacifico", cursive;

  /* Tipografia — tamanhos */
  --fs-xs: 1.05rem;
  --fs-sm: 1.1rem;
  --fs-md: 1.15rem;
  --fs-base: 1.2rem;
  --fs-lg: 1.5rem;
  --fs-xl: 1.6rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.2rem;
  --fs-icon-sm: 2.5rem;
  --fs-icon-lg: 3.5rem;
  --fs-close: 40px;

  /* Espaçamentos */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 15px;
  --space-6: 16px;
  --space-7: 18px;
  --space-8: 20px;
  --space-9: 24px;
  --space-10: 28px;
  --space-11: 30px;
  --space-12: 40px;
  --space-13: 50px;
  --space-14: 60px;
  --space-15: 70px;
  --space-16: 80px;
  --space-17: 100px;

  /* Border-radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-xl: 30px;
  --radius-full: 50%;

  /* Transições */
  --transition-speed: 0.3s; /* alias legado — preferir os abaixo */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
  --transition-xslow: 0.8s;

  /* Z-index */
  --z-base: 0;
  --z-above: 1;
  --z-raised: 2;
  --z-nav: 100;
  --z-modal: 2000;

  /* Dimensões de componentes */
  --bar-width: 25px;
  --bar-height: 3px;
  --dot-size: 12px;
  --step-icon-size: 60px;
  --bullet-size: 8px;

  /* Hero */
  --blob-opacity-outer: 0.28;
  --blob-opacity-inner: 0.45;

  /* Galeria */
  --overlay-translate-y: 20px;

  /* Misc */
  --gradient-brand: linear-gradient(
    135deg,
    #c2185b 0%,
    #ad1457 50%,
    #7b1fa2 100%
  );
  --header-height: 70px;
}

/* 3. ESTILOS BASE
   ========================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* 4. TIPOGRAFIA / LOGO
   ========================================================== */
.logo,
a.logo {
  font-family: var(--font-logo);
  font-size: 1.8rem;
  color: var(--primary-dark);
  text-decoration: none;
}

.logo:focus-visible,
a.logo:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 5. UTILITÁRIOS
   ========================================================== */

/* Skip link — visível apenas ao receber foco (teclado/leitor de tela) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-6);
  z-index: 9999;
  padding: var(--space-4) var(--space-8);
  background-color: var(--primary-dark);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast) ease;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Focus global — páginas podem sobrescrever com especificidade maior */
a:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: 2px;
}
