/*
Theme Name: Grupo Amigos LP
Theme URI: https://lardeidososgrupodeamigos.com.br/
Author: Grupo Amigos
Description: Landing page de conversão para o Grupo Amigos - Casa de Repouso, Botafogo, Rio de Janeiro. Tema de página única focado em campanhas pagas (WhatsApp, ligação).
Version: 1.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: Uso interno
Text Domain: grupo-amigos-lp
*/


  :root{
    --ink:#0E2A44;
    --ink-2:#173C5D;
    --ink-3:#2A5C84;
    --sky:#EFF4F7;
    --sky-2:#E1EAF0;
    --mist:#F7FAFB;
    --teal:#2E7D77;
    --teal-l:#66AFA6;
    --white:#FFFFFF;
    --text:#354654;
    --text-soft:#67798A;
    --shadow: 0 20px 50px -20px rgba(14,42,68,0.28);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    background:var(--sky);
    color:var(--text);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{
    font-family:'Fraunces',serif;
    color:var(--ink);
    font-weight:600;
    line-height:1.15;
    letter-spacing:-0.01em;
  }
  a{text-decoration:none;color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
  .eyebrow{
    font-family:'Inter',sans-serif;
    text-transform:uppercase;
    letter-spacing:0.14em;
    font-size:12.5px;
    font-weight:700;
    color:var(--teal);
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
  }
  .eyebrow::before{content:'';width:22px;height:2px;background:var(--teal);display:inline-block;}
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:16px 30px;
    border-radius:100px;
    font-weight:700;
    font-size:15.5px;
    cursor:pointer;
    border:none;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--teal);
    color:var(--white);
    box-shadow:0 14px 30px -10px rgba(46,125,119,0.55);
  }
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 36px -10px rgba(46,125,119,0.6);}
  .btn-primary svg{width:18px;height:18px;flex-shrink:0;}
  .btn-ghost{
    background:transparent;
    color:var(--ink);
    border:1.5px solid rgba(14,42,68,0.25);
  }
  .btn-ghost:hover{border-color:var(--ink);background:rgba(14,42,68,0.05);}
  .btn-ghost.on-dark{color:var(--white);border-color:rgba(255,255,255,0.4);}
  .btn-ghost.on-dark:hover{border-color:var(--white);background:rgba(255,255,255,0.08);}
  .btn-ink{
    background:var(--ink);
    color:var(--white);
    box-shadow:0 14px 30px -10px rgba(14,42,68,0.55);
  }
  .btn-ink:hover{transform:translateY(-2px);}

  /* ---------- HEADER ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(247,250,251,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(14,42,68,0.08);
  }
  .header-inner{
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 32px;
    max-width:1180px;margin:0 auto;
  }
  .logo{display:flex;align-items:center;gap:12px;}
  .logo-mark{width:46px;height:46px;flex-shrink:0;object-fit:contain;}
  .logo-text{font-family:'Fraunces',serif;font-weight:700;font-size:19px;color:var(--ink);line-height:1.1;}
  .logo-text span{display:block;font-family:'Inter',sans-serif;font-weight:600;font-size:10px;letter-spacing:0.16em;color:var(--teal);margin-top:3px;}
  .header-cta{display:flex;align-items:center;gap:18px;}
  .header-phone{
    display:flex;align-items:center;gap:8px;
    font-weight:600;font-size:14.5px;color:var(--ink-2);
  }
  .header-phone svg{width:17px;height:17px;color:var(--teal);}
  @media(max-width:640px){ .header-phone{display:none;} .header-cta .btn-primary{padding:13px 20px;font-size:14px;} }

  /* ---------- HERO (full-bleed banner) ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    background:#0E2A44;
    min-height:680px;
    display:flex;
    align-items:center;
  }
  .hero-scene{position:absolute;inset:0;z-index:0;overflow:hidden;}
  .hero-scene img{
    width:100%;height:100%;object-fit:cover;object-position:center 38%;
    animation:kenburns 22s ease-in-out infinite alternate;
    filter:saturate(1.03) brightness(0.98);
  }
  @keyframes kenburns{
    0%{transform:scale(1) translate(0,0);}
    100%{transform:scale(1.09) translate(-1%,-1%);}
  }
  .hero-overlay{
    position:absolute;inset:0;z-index:1;
    background:
      linear-gradient(90deg,rgba(9,26,43,0.88) 0%,rgba(9,26,43,0.62) 38%,rgba(9,26,43,0.22) 65%,rgba(9,26,43,0.08) 100%),
      linear-gradient(0deg,rgba(9,26,43,0.55) 0%,rgba(9,26,43,0) 30%);
  }
  .hero-inner{
    position:relative;z-index:2;
    max-width:1180px;margin:0 auto;
    padding:150px 32px 100px;
    width:100%;
  }
  .hero-inner .content{max-width:600px;}
  .hero h1{font-size:clamp(36px,4.8vw,60px);margin-bottom:22px;color:var(--white);}
  .hero h1 em{font-style:normal;color:var(--teal-l);}
  .hero p.lead{font-size:18.5px;color:rgba(255,255,255,0.82);max-width:520px;margin-bottom:32px;}
  .hero-ctas{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
  .hero-trust{display:flex;gap:24px;flex-wrap:wrap;font-size:13.5px;color:rgba(255,255,255,0.75);font-weight:600;}
  .hero-trust span{display:flex;align-items:center;gap:7px;}
  .hero-trust svg{width:16px;height:16px;color:var(--teal-l);}
  @media(max-width:760px){
    .hero{min-height:auto;}
    .hero-inner{padding:120px 24px 90px;}
    .hero-overlay{background:linear-gradient(180deg,rgba(9,26,43,0.55) 0%,rgba(9,26,43,0.85) 60%,rgba(9,26,43,0.95) 100%);}
  }

  /* ---------- TRUST BAR (floating, integrated with hero) ---------- */
  .trustbar{position:relative;z-index:6;margin-top:-56px;padding:0 0 24px;background:transparent;}
  .trustbar .wrap{
    display:flex;flex-wrap:wrap;justify-content:space-between;gap:22px;
    background:rgba(14,34,54,0.66);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
    border:1px solid rgba(255,255,255,0.14);
    border-radius:22px;
    padding:30px 40px;
    box-shadow:0 30px 60px -24px rgba(6,18,30,0.55);
  }
  @media(max-width:760px){
    .trustbar{margin-top:-36px;}
    .trustbar .wrap{padding:24px 22px;border-radius:18px;}
  }
  .trust-item{
    display:flex;align-items:center;gap:12px;color:var(--white);flex:1 1 200px;
  }
  .trust-item svg{width:26px;height:26px;color:var(--teal-l);flex-shrink:0;}
  .trust-item p{font-size:13.5px;font-weight:600;color:var(--white);opacity:0.92;line-height:1.35;}

  /* ---------- SECTION GENERIC ---------- */
  section{padding:96px 0;}
  .section-head{max-width:640px;margin-bottom:56px;}
  .section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
  .section-head h2{font-size:clamp(28px,3.4vw,40px);}
  .section-head p{color:var(--text-soft);font-size:16.5px;margin-top:14px;}

  /* ---------- DIFERENCIAIS ---------- */
  .diff-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:22px;
  }
  .diff-card{
    background:var(--white);
    border-radius:22px;
    padding:36px 28px;
    box-shadow:var(--shadow);
    transition:transform .4s cubic-bezier(.19,1,.22,1), box-shadow .4s ease;
  }
  .diff-card:hover{transform:translateY(-8px);box-shadow:0 28px 60px -20px rgba(14,42,68,0.35);}
  .diff-icon{
    width:56px;height:56px;border-radius:16px;
    background:var(--sky-2);
    display:flex;align-items:center;justify-content:center;
    margin-bottom:22px;
    transition:transform .4s cubic-bezier(.19,1,.22,1), background .4s ease;
  }
  .diff-card:hover .diff-icon{background:var(--teal);transform:rotate(-6deg) scale(1.06);}
  .diff-icon svg{width:26px;height:26px;color:var(--teal);transition:color .4s ease;}
  .diff-card:hover .diff-icon svg{color:var(--white);}
  .diff-card h3{font-size:19px;margin-bottom:10px;}
  .diff-card p{font-size:14.5px;color:var(--text-soft);}
  @media(max-width:900px){
    .diff-grid{grid-template-columns:1fr 1fr;}
  }
  @media(max-width:560px){
    .diff-grid{grid-template-columns:1fr;}
  }

  /* ---------- ABOUT ---------- */
  .about{background:var(--ink);color:var(--white);}
  .about .wrap{display:grid;grid-template-columns:0.85fr 1.15fr;gap:64px;align-items:center;}
  .about .eyebrow{color:var(--teal-l);}
  .about .eyebrow::before{background:var(--teal-l);}
  .about h2{color:var(--white);font-size:clamp(28px,3.4vw,38px);margin-bottom:20px;}
  .about p{color:rgba(255,255,255,0.78);font-size:16px;margin-bottom:28px;max-width:520px;}
  .about-visual{position:relative;aspect-ratio:1/1;border-radius:24px;overflow:hidden;background:var(--ink-2);}
  .stat-strip{display:flex;gap:34px;margin-top:36px;flex-wrap:wrap;}
  .stat-strip div{border-left:2px solid var(--teal-l);padding-left:14px;}
  .stat-strip strong{display:block;font-family:'Fraunces',serif;font-size:26px;color:var(--teal-l);}
  .stat-strip span{font-size:12.5px;color:rgba(255,255,255,0.65);}
  @media(max-width:900px){ .about .wrap{grid-template-columns:1fr;} .about-visual{order:-1;max-width:420px;margin:0 auto;} }

  /* ---------- SERVICES ---------- */
  .services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  .service-card{
    background:var(--white);
    border-radius:20px;
    padding:32px 28px;
    box-shadow:var(--shadow);
    transition:transform .3s ease;
  }
  .service-card:hover{transform:translateY(-6px);}
  .service-icon{
    width:52px;height:52px;border-radius:50%;
    background:var(--sky-2);
    display:flex;align-items:center;justify-content:center;margin-bottom:20px;
    transition:transform .4s cubic-bezier(.19,1,.22,1), background .4s ease;
  }
  .service-card:hover .service-icon{background:var(--ink-2);transform:scale(1.08);}
  .service-icon svg{width:24px;height:24px;color:var(--ink-2);transition:color .4s ease;}
  .service-card:hover .service-icon svg{color:var(--white);}
  .service-card h3{font-size:18.5px;margin-bottom:10px;}
  .service-card p{font-size:14.5px;color:var(--text-soft);}
  @media(max-width:900px){.services-grid{grid-template-columns:1fr 1fr;}}
  @media(max-width:560px){.services-grid{grid-template-columns:1fr;}}

  /* ---------- TESTIMONIALS ---------- */
  .testimonials{background:var(--sky-2);}
  .test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .test-card{background:var(--white);border-radius:20px;padding:30px;box-shadow:var(--shadow);}
  .test-stars{display:flex;gap:3px;margin-bottom:16px;color:var(--teal);letter-spacing:2px;}
  .test-card p{font-size:15px;color:var(--text);margin-bottom:22px;}
  .test-person{display:flex;align-items:center;gap:12px;}
  .test-avatar{
    width:44px;height:44px;border-radius:50%;
    background:var(--ink);color:var(--white);
    display:flex;align-items:center;justify-content:center;
    font-family:'Fraunces',serif;font-weight:700;font-size:16px;
  }
  .test-person strong{display:block;font-size:14px;color:var(--ink);}
  .test-person span{font-size:12.5px;color:var(--text-soft);}
  @media(max-width:900px){.test-grid{grid-template-columns:1fr;}}

  /* ---------- FAQ ---------- */
  .faq-list{max-width:760px;margin:0 auto;}
  .faq-item{border-bottom:1px solid rgba(14,42,68,0.14);}
  .faq-q{
    width:100%;text-align:left;background:none;border:none;cursor:pointer;
    display:flex;justify-content:space-between;align-items:center;
    padding:24px 4px;font-family:'Fraunces',serif;font-size:18px;color:var(--ink);font-weight:600;
  }
  .faq-q svg{width:20px;height:20px;flex-shrink:0;color:var(--teal);transition:transform .3s ease;}
  .faq-item.open .faq-q svg{transform:rotate(45deg);}
  .faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
  .faq-a p{padding:0 4px 24px;font-size:15px;color:var(--text-soft);max-width:640px;}

  /* ---------- FINAL CTA ---------- */
  .final-cta{
    background:linear-gradient(135deg,var(--ink) 0%,#081A2C 100%);
    position:relative;overflow:hidden;
    padding:100px 0;
  }
  .final-cta::before{
    content:'';position:absolute;top:-120px;right:-120px;width:400px;height:400px;
    border-radius:50%;background:radial-gradient(circle,rgba(102,175,166,0.3),transparent 70%);
  }
  .final-cta .wrap{position:relative;z-index:2;text-align:center;max-width:680px;}
  .final-cta h2{color:var(--white);font-size:clamp(28px,4vw,42px);margin-bottom:18px;}
  .final-cta p{color:rgba(255,255,255,0.8);font-size:17px;margin-bottom:36px;}
  .final-cta-buttons{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
  .final-cta .phones{color:rgba(255,255,255,0.65);font-size:14px;}
  .final-cta .phones a{font-weight:700;color:var(--teal-l);}

  /* ---------- FOOTER ---------- */
  footer{background:#081A2C;color:rgba(255,255,255,0.65);padding:56px 0 28px;}
  .footer-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;margin-bottom:36px;}
  .footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
  .footer-brand .logo-text{color:var(--white);}
  .footer-col h4{color:var(--white);font-family:'Inter',sans-serif;font-size:13px;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:14px;}
  .footer-col p, .footer-col a{display:block;font-size:14px;margin-bottom:8px;color:rgba(255,255,255,0.65);}
  .footer-col a:hover{color:var(--teal-l);}
  .footer-bottom{border-top:1px solid rgba(255,255,255,0.12);padding-top:22px;font-size:12.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}
  @media(max-width:700px){.footer-top{flex-direction:column;}}

  /* ---------- FLOATING WHATSAPP ---------- */
  .float-wa{
    position:fixed;bottom:26px;right:26px;z-index:60;
    width:62px;height:62px;border-radius:50%;
    background:#25D366;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 14px 30px -8px rgba(0,0,0,0.4);
    animation:pulse 2.4s infinite;
  }
  .float-wa svg{width:30px;height:30px;color:white;}
  @keyframes pulse{
    0%{box-shadow:0 0 0 0 rgba(37,211,102,0.55), 0 14px 30px -8px rgba(0,0,0,0.4);}
    70%{box-shadow:0 0 0 16px rgba(37,211,102,0), 0 14px 30px -8px rgba(0,0,0,0.4);}
    100%{box-shadow:0 0 0 0 rgba(37,211,102,0), 0 14px 30px -8px rgba(0,0,0,0.4);}
  }

  @media(max-width:640px){
    section{padding:64px 0;}
    .wrap{padding:0 20px;}
  }

  /* ---------- SCROLL REVEAL ---------- */
  [data-reveal]{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s cubic-bezier(.19,1,.22,1), transform .8s cubic-bezier(.19,1,.22,1);
  }
  [data-reveal].is-visible{opacity:1;transform:translateY(0);}
  [data-reveal-group] > *{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .7s cubic-bezier(.19,1,.22,1), transform .7s cubic-bezier(.19,1,.22,1);
  }
  [data-reveal-group].is-visible > *{opacity:1;transform:translateY(0);}
  [data-reveal-group].is-visible > *:nth-child(1){transition-delay:.05s;}
  [data-reveal-group].is-visible > *:nth-child(2){transition-delay:.14s;}
  [data-reveal-group].is-visible > *:nth-child(3){transition-delay:.23s;}
  [data-reveal-group].is-visible > *:nth-child(4){transition-delay:.32s;}
  [data-reveal-group].is-visible > *:nth-child(5){transition-delay:.41s;}
  [data-reveal-group].is-visible > *:nth-child(6){transition-delay:.5s;}
  @media (prefers-reduced-motion: reduce){
    [data-reveal], [data-reveal-group] > *{opacity:1;transform:none;transition:none;}
    .hero-scene img{animation:none;}
  }

  /* ---------- GALLERY (real photos placeholder) ---------- */
  .gallery{background:var(--mist);}
  .gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-auto-rows:150px;
    gap:16px;
  }
  .gallery-grid .g-slot:nth-child(1){grid-column:span 2;grid-row:span 2;}
  .gallery-grid .g-slot:nth-child(4){grid-column:span 2;}
  .gallery-grid .g-slot:nth-child(6){grid-column:span 2;}
  .g-slot{
    position:relative;
    border-radius:18px;
    background:
      repeating-linear-gradient(135deg, rgba(14,42,68,0.05) 0 12px, transparent 12px 24px),
      var(--sky-2);
    border:1.5px dashed rgba(14,42,68,0.28);
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:8px;
    color:var(--text-soft);
    text-align:center;
    padding:16px;
    transition:border-color .25s ease, background .25s ease, transform .25s ease;
  }
  .g-slot:hover{border-color:var(--teal);transform:translateY(-3px);}
  .g-slot svg{width:26px;height:26px;color:var(--ink-3);opacity:0.6;}
  .g-slot span{font-size:12.5px;font-weight:600;color:var(--ink-2);}
  .g-slot small{font-size:11px;color:var(--text-soft);}
  .g-slot.filled{
    position:relative;
    border:none;
    background:#0E2A44;
    overflow:hidden;
    padding:0;
    justify-content:flex-end;
  }
  .g-slot.filled img{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    transition:transform .5s ease;
  }
  .g-slot.filled:hover img{transform:scale(1.06);}
  .g-slot.filled::after{
    content:'';position:absolute;inset:0;
    background:linear-gradient(0deg,rgba(9,26,43,0.85) 0%,rgba(9,26,43,0.15) 45%,rgba(9,26,43,0) 65%);
  }
  .g-slot.filled span, .g-slot.filled small{
    position:relative;z-index:2;text-align:left;width:100%;padding:0 16px;
  }
  .g-slot.filled span{color:var(--white);}
  .g-slot.filled small{color:rgba(255,255,255,0.75);margin-bottom:14px;}
  .g-slot.filled:hover{transform:translateY(-3px);}
  @media(max-width:900px){
    .gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px;}
    .gallery-grid .g-slot:nth-child(1){grid-column:span 2;grid-row:span 1;}
    .gallery-grid .g-slot:nth-child(4){grid-column:span 1;}
    .gallery-grid .g-slot:nth-child(6){grid-column:span 1;}
  }
