/*
    Projeto: Site Institucional - Psicóloga de Mães · Juliana Almeida
    Componente: Folha de Estilo - CSS (Variaveis e Estilos Globais)
    Autor: Paulo Almeida
    Data: 14-05-2026
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  /* Palette */
  --cream:       #F7F3EE;
  --warm-white:  #FDFAF7;
  --sage:        #8FA88A;
  --sage-light:  #C5D4C0;
  --sage-dark:   #5C7A5A;
  --terracota:   #C4825A;
  --terracota-light: #E8C4AD;
  --charcoal:    #2C2C2A;
  --charcoal-mid:#4A4A47;
  --stone:       #8C8880;
  --stone-light: #D4CFC9;
  --border:      rgba(44, 44, 42, 0.10);
  --border-sage: rgba(143, 168, 138, 0.25);

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 140px);
  --container:   1160px;
  --gutter:      clamp(20px, 5vw, 60px);

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration: 0.55s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

ul, ol { list-style: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Section ──────────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }

.section_label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section_label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--sage-dark);
}

.section_title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
}

.section_subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--charcoal-mid);
  line-height: 1.75;
  max-width: 540px;
  margin-top: 16px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
  min-height: 44px
}

.btn--primary {
  background: var(--charcoal);
  color: var(--warm-white);
}
.btn--primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 122, 90, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: var(--warm-white);
  transform: translateY(-2px);
}

.btn--sage {
  background: var(--sage);
  color: var(--warm-white);
}
.btn--sage:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 122, 90, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--sage-dark);
  padding: 14px 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--sage-dark);
  letter-spacing: 0.04em;
}
.btn--ghost:hover { color: var(--terracota); border-color: var(--terracota); }

/* ── Utility ──────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 3px; }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: var(--sage-light); color: var(--charcoal); }
