/* ==================================================
   DR. MÁRCIO KIUCHI — STYLE.CSS (REFATORADO)
   Estrutura:
   1. Variables
   2. Reset / Base
   3. Layout
   4. Typography
   5. Components
   6. Utilities / Animations
   7. Page Helpers
   8. Responsive
================================================== */

/* =========================
   1. VARIABLES
========================= */
:root{
  --navy:#0B1220;
  --navy-sec:#0F1E2E;
  --offwhite:#F4F6F8;
  --gold:#C9A24D;
  --gray:#9AA6B2;

  --radius-sm:12px;
  --radius-md:16px;
  --radius-lg:18px;
  --radius-pill:999px;

  --shadow-sm:0 8px 24px rgba(11,18,32,.035);
  --shadow-md:0 18px 40px rgba(11,18,32,.08);
  --shadow-lg:0 30px 70px rgba(0,0,0,.28);

  --border:1px solid rgba(0,0,0,.05);
  --transition:.28s ease;
}

/* =========================
   2. RESET / BASE
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

body{
  font-family:'Inter',sans-serif;
  background:var(--offwhite);
  color:var(--navy);
  overflow-x:hidden;
  scroll-behavior:smooth;
  display:flex;
  flex-direction:column;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
}

/* =========================
   3. LAYOUT
========================= */
section{
  max-width:1100px;
  margin:auto;
  padding:72px 20px;
}

.container{
  max-width:1100px;
  margin:auto;
}

.section-light,
.section-soft{
  padding:72px 20px;
}

.section-soft{
  background:#eef1f4;
}

.section-center,
.center{
  text-align:center;
  max-width:760px;
  margin:auto;
}

/* =========================
   4. TYPOGRAPHY
========================= */
h1,h2,h3{
  font-family:'Playfair Display',serif;
  font-weight:600;
}

h2{
  font-size:36px;
}

h3{
  font-size:24px;
}

p{
  line-height:1.75;
}

.text-base{
  font-size:18px;
}

.text-large{
  font-size:20px;
}

.section-title{
  text-align:center;
  margin-bottom:14px;
}

.section-intro{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
  font-size:17px;
  opacity:.85;
}

/* =========================
   5. COMPONENTS
========================= */

/* ---------- NAV ---------- */
nav{
  background:#fff;
  padding:14px 24px;
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.menu-wrap{
  max-width:1180px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.menu{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.menu a{
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
  transition:var(--transition);
}

.menu a:hover{
  color:var(--gold);
}

.nav-cta{
  background:var(--gold);
  color:var(--navy);
  text-decoration:none;
  padding:10px 18px;
  border-radius:var(--radius-pill);
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(201,162,77,.18);
  transition:var(--transition);
}

.nav-cta:hover{
  transform:translateY(-1px);
}

/* ---------- HEADER ---------- */
header{
  background:linear-gradient(to bottom,var(--navy),var(--navy-sec));
  color:var(--offwhite);
  text-align:center;
  padding:90px 20px;
}

header h1{
  font-size:clamp(32px,5vw,60px);
}

header h2{
  font-size:clamp(28px,4vw,48px);
  margin-top:10px;
}

header p{
  margin-top:10px;
  font-size:18px;
  opacity:.85;
}

.header-small{
  padding:70px 20px;
}

/* ---------- HERO PREMIUM ---------- */
.hero-premium{
  padding:72px 20px 68px !important;
  background:linear-gradient(180deg,#09111d 0%,#0b1220 60%,#0f1e2e 100%);
}

.hero-label{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.58;
  margin-bottom:16px;
}

.hero-premium h1{
  font-size:clamp(42px,6vw,64px);
  line-height:1.05;
  margin-bottom:6px;
}

.hero-premium h2{
  font-size:clamp(24px,3vw,34px);
  margin-bottom:18px;
  opacity:.92;
}

.hero-areas{
  font-size:16px;
  opacity:.76;
  margin-bottom:8px;
}

.hero-crm{
  font-size:14px;
  opacity:.56;
  margin-bottom:24px;
}

.hero-text{
  max-width:640px;
  font-size:18px;
  opacity:.88;
}

/* ---------- HERO FOTO ---------- */
.hero-photo{
  text-align:left;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
}

.hero-copy{
  max-width:680px;
}

.hero-copy .hero-text{
  margin:0 0 30px;
}

.hero-image{
  display:flex;
  justify-content:center;
  align-items:flex-end;
}

.hero-image img{
  width:100%;
  max-width:420px;
  border-radius:var(--radius-lg);
  object-fit:cover;
  box-shadow:var(--shadow-lg);
}

/* ---------- BUTTONS ---------- */
.btn,
.button-pulse{
  display:inline-block;
  text-decoration:none;
  padding:15px 28px;
  border-radius:var(--radius-pill);
  font-size:15px;
  font-weight:600;
  transition:var(--transition);
}

.btn-primary,
.button-pulse,
.produto-btn,
.mapa-btn,
.whatsapp-btn{
  background:var(--gold);
  color:var(--navy);
}

.btn-primary:hover,
.button-pulse:hover,
.produto-btn:hover,
.mapa-btn:hover,
.whatsapp-btn:hover{
  transform:translateY(-2px);
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.03);
  color:var(--offwhite);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.08);
}

/* ---------- ACTIONS ---------- */
.hero-actions,
.section-action{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.section-action{
  margin-top:28px;
}

/* ---------- CARDS ---------- */
.cards,
.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}

.card,
.produto-card{
  background:#fff;
  border:var(--border);
  border-radius:var(--radius-md);
  padding:34px 28px;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
}

.card:hover,
.produto-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
}

.card p,
.produto-card p{
  font-size:16px;
  opacity:.82;
}

.produto-card{
  display:flex;
  flex-direction:column;
}

.produto-btn{
  margin-top:auto;
  text-decoration:none;
}

/* ---------- FOOTER ---------- */
footer{
  margin-top:auto;
  background:#09111d;
  color:var(--offwhite);
  text-align:center;
  padding:18px 12px;
  border-top:1px solid rgba(255,255,255,.04);
}

footer p:first-child{
  font-size:13px;
  opacity:.92;
}

footer p:last-child{
  font-size:11px;
  opacity:.58;
}

/* =========================
   6. UTILITIES / ANIMATION
========================= */
.produtos-hide{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:.5s ease;
}

.produtos-hide.open{
  max-height:1200px;
  opacity:1;
  margin-top:35px;
}

.reveal{
  opacity:1;
  transform:none;
}

.js .reveal{
  opacity:0;
  transform:translateY(30px);
  transition:.8s;
}

.reveal.active{
  opacity:1;
  transform:none;
}

/* =========================
   7. PAGE HELPERS
========================= */

.produtos-cta{
  margin-top:80px;
  padding-top:20px;
}

.sobre-grid,
.contato-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:start;
}

.sobre-foto{
  max-width:420px;
}

/* =========================
   8. RESPONSIVE
========================= */
@media(max-width:900px){

  .menu-wrap{
    flex-direction:column;
    gap:12px;
  }

  .menu{
    justify-content:center;
    gap:14px;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .hero-photo{
    text-align:center;
  }

  .hero-copy{
    max-width:100%;
  }

  .hero-copy .hero-text{
    margin:0 auto 26px;
  }

  .hero-actions{
    justify-content:center;
  }

  .hero-image img{
    max-width:320px;
  }

  .sobre-grid,
  .contato-grid{
    grid-template-columns:1fr;
  }

  .sobre-foto{
    margin:auto;
    max-width:340px;
  }
}

@media(max-width:768px){

  header{
    padding:70px 20px;
  }

  section,
  .section-light,
  .section-soft{
    padding:58px 20px;
  }

  .card,
  .produto-card{
    padding:28px 22px;
  }

  h2{
    font-size:30px;
  }
}

@media(max-width:480px){

  nav{
    padding:12px 14px;
  }

  .menu a{
    font-size:12px;
  }

  header{
    padding:60px 15px;
  }

  .btn,
  .button-pulse{
    width:100%;
    text-align:center;
  }
}
nav{
  background:#ffffff;
  padding:14px 24px;
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.menu-wrap{
  max-width:1180px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.menu{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.menu a{
  color:var(--navy);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  white-space:nowrap;
}

.nav-cta{
  background:var(--gold);
  color:var(--navy) !important;
  padding:10px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}
.btn-primary,
.produto-btn,
.mapa-btn,
.whatsapp-btn,
.publicacoes-btn{
  display:inline-block;
  padding:14px 26px;
  border-radius:999px;
  background:var(--gold);
  color:var(--navy);
  text-decoration:none;
  font-weight:600;
  transition:.3s ease;
}

.btn-primary:hover,
.produto-btn:hover,
.mapa-btn:hover,
.whatsapp-btn:hover,
.publicacoes-btn:hover{
  background:var(--navy);
  color:var(--gold);
}
.hero-premium .btn-primary:hover{
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(201,162,77,.24);
}
.btn{
  border: none;
}

.btn-primary{
  background: var(--gold);
  color: var(--navy);
  border: none;
}
/* ===== HOME - PRODUTOS LADO A LADO ===== */

.index .section-soft .cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.index .section-soft .card{
  min-width: 0;
  width: 100%;
}

@media(max-width:900px){
  .index .section-soft .cards{
    grid-template-columns: 1fr;
  }
}
.contato-box{
  text-align: center;
}