/* ═══════════════════════════════════════════════════
   DATIFY SISTEMAS, LICENCE v2.34
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   POOL CENTER — style.css
   Estilos específicos 
═══════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0d4f8c;
}

/* Background layers */
.hero__bg { position: absolute; inset: 0; z-index: 0; }

/* Gradiente uniforme — sem divisão de cores */
.hero__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%,
        #1565c0 0%,
        #0d4f8c 45%,
        #0b3c6f 100%);
}

.hero__light-reflection {
    position: absolute;
    top: -10%;
    right: 5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(30,136,229,.18) 0%,
        rgba(21,101,192,.08) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: lightPulse 7s ease-in-out infinite;
}

/* Segundo glow à esquerda para equilibrar */
.hero__gradient::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse at center,
        rgba(11,60,111,.6) 0%,
        transparent 70%);
    border-radius: 50%;
}

@keyframes lightPulse {
    0%,100% { transform: scale(1) translateY(0); opacity: .7 }
    50%      { transform: scale(1.2) translateY(-20px); opacity: 1 }
}

/* Imagem parallax desktop — coberta por overlay total para não criar divisão */
.hero__img-container {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    z-index: 1;
    overflow: hidden;
    display: none;
}

@media (min-width: 1100px) {
    .hero__img-container { display: block; }
}

.hero__pool-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .12;
    mix-blend-mode: screen;
    transform: scale(1.05);
    transition: transform 8s ease;
}

/* Overlay total que esmaga qualquer diferença de cor */
.hero__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #0d4f8c 0%,
        rgba(13,79,140,.92) 40%,
        rgba(13,79,140,.75) 100%
    );
}

/* ── ONDAS ANIMADAS ───────────────────────────────── */
/* Cobrindo todo o hero (não só bottom 55%) */
.hero__pool-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__pool-visual::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(11,60,111,.4) 100%);
}

.hero__water-lines {
    position: absolute;
    inset: 0;
    opacity: .3;
}

.hero__water-line {
    position: absolute;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(144,202,249,.9) 30%,
        rgba(144,202,249,1) 50%,
        rgba(144,202,249,.9) 70%,
        transparent 100%);
    animation: waterWave ease-in-out infinite;
}

.hero__water-line--1 { top: 18%; width: 55%; left: -15%; animation-duration: 4s;   animation-delay: 0s; }
.hero__water-line--2 { top: 28%; width: 75%; left: 15%;  animation-duration: 5s;   animation-delay: .6s; }
.hero__water-line--3 { top: 40%; width: 65%; left: -8%;  animation-duration: 4.5s; animation-delay: 1.2s; }
.hero__water-line--4 { top: 52%; width: 85%; left: 8%;   animation-duration: 6s;   animation-delay: .3s; }
.hero__water-line--5 { top: 63%; width: 70%; left: -5%;  animation-duration: 3.8s; animation-delay: 1.8s; }
.hero__water-line--6 { top: 74%; width: 60%; left: 25%;  animation-duration: 5.5s; animation-delay: .9s; }
.hero__water-line--7 { top: 84%; width: 90%; left: -12%; animation-duration: 4.2s; animation-delay: 2.4s; }

@keyframes waterWave {
    0%   { transform: translateX(0)    scaleX(1);    opacity: .1  }
    25%  { transform: translateX(20px) scaleX(1.03); opacity: .45 }
    50%  { transform: translateX(40px) scaleX(1.06); opacity: .5  }
    75%  { transform: translateX(20px) scaleX(1.03); opacity: .35 }
    100% { transform: translateX(0)    scaleX(1);    opacity: .1  }
}

/* ── TRANSIÇÃO HERO → PRÓXIMA SEÇÃO (ONDAS ANIMADAS) ── */
.hero__wave-transition {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
    overflow: hidden;
    line-height: 0;
}

.hero__wave-transition svg {
    display: block;
    width: 200%;
    height: 80px;
    animation: waveSvgScroll 8s linear infinite;
}

.hero__wave-transition svg.wave-back {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: waveSvgScrollReverse 12s linear infinite;
    opacity: .5;
}

@keyframes waveSvgScroll {
    0%   { transform: translateX(0) }
    100% { transform: translateX(-50%) }
}

@keyframes waveSvgScrollReverse {
    0%   { transform: translateX(-50%) }
    100% { transform: translateX(0) }
}


/* Bolhas */
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(144,202,249,.15);
    border: 1px solid rgba(144,202,249,.25);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(100vh) scale(0); opacity: 0 }
    10%  { opacity: 1 }
    90%  { opacity: .5 }
    100% { transform: translateY(-100px) scale(1.2); opacity: 0 }
}

/* Conteúdo */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5% 60px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,235,59,.15);
    border: 1px solid rgba(255,235,59,.3);
    border-radius: 50px;
    padding: 7px 18px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--yellow-400);
    letter-spacing: .5px;
    animation: fadeInDown .8s ease both;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--yellow-400);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%,100% { opacity: 1 }
    50%      { opacity: .3 }
}

.hero__h1 {
    font-size: clamp(36px, 5.5vw, 70px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 22px;
    animation: fadeInUp .8s .2s ease both;
}

.hero__h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--yellow-400), var(--orange-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,.75);
    font-weight: 400;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 42px;
    animation: fadeInUp .8s .4s ease both;
}

.hero__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp .8s .6s ease both;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    animation: fadeInUp 1s 1.2s ease both;
    background: transparent;
    border: none;
}

.hero__scroll-text {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1.5px;
    height: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,.5), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
    0%  { transform: scaleY(0); transform-origin: top }
    50% { transform: scaleY(1); transform-origin: top }
    51% { transform: scaleY(1); transform-origin: bottom }
    100%{ transform: scaleY(0); transform-origin: bottom }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px) }
    to   { opacity: 1; transform: translateY(0) }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px) }
    to   { opacity: 1; transform: translateY(0) }
}

/* ── STATS ────────────────────────────────────────── */
.section--stats {
    background: var(--gray-100);
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,136,229,.04), transparent);
    opacity: 0;
    transition: .3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-300);
}

.stat-card:hover::before { opacity: 1; }

.stat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card__icon svg { width: 26px; height: 26px; }

.stat-card__icon--blue   { background: #e3f2fd; }
.stat-card__icon--yellow { background: #fff8e1; }
.stat-card__icon--green  { background: #e8f5e9; }
.stat-card__icon--orange { background: #fff3e0; }

.stat-card__num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card__label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* ── SERVIÇOS ─────────────────────────────────────── */
.section--servicos { background: var(--white); }

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.servico-card {
    background: var(--gray-100);
    border-radius: var(--r-lg);
    padding: 36px 30px;
    border: 1.5px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.servico-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,136,229,.1), transparent);
    transition: .4s;
    pointer-events: none;
}

.servico-card:hover {
    background: var(--white);
    border-color: var(--blue-300);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.servico-card:hover::after {
    transform: scale(1.5);
    opacity: .7;
}

.servico-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: .3s;
}

.servico-card:hover .servico-card__icon {
    transform: scale(1.1) rotate(-5deg);
}

.servico-card__titulo {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 10px;
}

.servico-card__descricao {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.servico-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-500);
    margin-top: 18px;
    text-decoration: none;
    transition: gap .3s;
}

.servico-card:hover .servico-card__link { gap: 10px; }

/* ── EXPERIÊNCIA ──────────────────────────────────── */
.section--experiencia {
    background: var(--blue-900);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section--experiencia::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,136,229,.15), transparent 60%);
    pointer-events: none;
}

.experiencia__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experiencia__features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experiencia__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.experiencia__feature-icon {
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(30,136,229,.2);
    border: 1px solid rgba(30,136,229,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.experiencia__feature-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.experiencia__feature-text span {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

.experiencia__cta { margin-top: 36px; }

/* Visual */
.experiencia__visual { position: relative; }

.experiencia__img-wrap {
    width: 100%;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 50%, #0b3c6f 100%);
    position: relative;
}

.experiencia__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experiencia__float-card {
    position: absolute;
    background: white;
    border-radius: var(--r-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.experiencia__float-card--1 {
    bottom: -20px;
    left: -30px;
    animation: floatCard 4s ease-in-out infinite;
}

.experiencia__float-card--2 {
    top: -20px;
    right: -20px;
    animation: floatCard 4s ease-in-out infinite 2s;
}

@keyframes floatCard {
    0%,100% { transform: translateY(0) }
    50%      { transform: translateY(-8px) }
}

.experiencia__float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.experiencia__float-label {
    font-size: 11px;
    color: var(--gray-500);
    white-space: nowrap;
}

.experiencia__float-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-900);
}

/* ── DEPOIMENTOS ──────────────────────────────────── */
.section--depoimentos { background: var(--gray-100); }

.depo-track { position: relative; }

.depo-slider {
    display: flex;
    gap: 24px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.depo-card {
    min-width: 360px;
    max-width: 360px;
    background: white;
    border-radius: var(--r-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    flex-shrink: 0;
}

.depo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.depo-card__quote {
    font-size: 48px;
    line-height: 1;
    color: var(--blue-300);
    font-weight: 900;
    margin-bottom: 12px;
}

.depo-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.depo-card__star { font-size: 15px; }

.depo-card__texto {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.depo-card__autor {
    display: flex;
    align-items: center;
    gap: 14px;
}

.depo-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.depo-card__nome {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-900);
    font-style: normal;
}

.depo-card__font {
    font-size: 13px;
    color: var(--gray-500);
}

.depo-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.depo-nav__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--gray-300);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    color: var(--blue-700);
}

.depo-nav__btn:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: white;
    transform: scale(1.05);
}

/* ── SOBRE ────────────────────────────────────────── */
.section--sobre { background: white; }

.sobre__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre__img-wrap {
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: auto;
    background: linear-gradient(135deg, var(--blue-100), var(--blue-300));
    position: relative;
}

.sobre__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,60,111,.08), transparent);
    pointer-events: none;
}

.sobre__visual { position: relative; }

.sobre__badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--yellow-500);
    border-radius: var(--r-md);
    padding: 18px 22px;
    box-shadow: var(--shadow-md);
}

.sobre__badge-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--blue-900);
    line-height: 1;
}

.sobre__badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-900);
    opacity: .75;
}

.sobre__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.sobre__value {
    background: var(--gray-100);
    border-radius: var(--r-md);
    padding: 20px;
    border-left: 3px solid var(--blue-500);
}

.sobre__value strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 5px;
}

.sobre__value span {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── CTA ──────────────────────────────────────────── */
.section--cta {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, #1565c0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta__bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,235,59,.06), transparent 60%);
    pointer-events: none;
}

.cta__inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta__h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta__h2 em {
    font-style: normal;
    color: var(--yellow-400);
}

.cta__p {
    font-size: 18px;
    color: rgba(255,255,255,.7);
    margin-bottom: 44px;
    line-height: 1.7;
}

.cta__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── LOCALIZAÇÃO ──────────────────────────────────── */
.section--localizacao { background: var(--gray-100); }

.local__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.local__info {
    background: white;
    border-radius: var(--r-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
}

.local__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-200);
}

.local__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.local__item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.local__item-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.local__item-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue-900);
    line-height: 1.55;
}

.local__item-text--link {
    color: var(--blue-500);
    text-decoration: none;
    transition: color .2s;
}

.local__item-text--link:hover { color: var(--blue-700); }

.local__map-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    height: 400px;
}

.local__map {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── RESPONSIVO HOME ──────────────────────────────── */
@media (max-width: 1100px) {
    .experiencia__inner { grid-template-columns: 1fr; gap: 40px; }
    .experiencia__visual { display: none; }
    .sobre__inner { grid-template-columns: 1fr; gap: 40px; }
    .sobre__visual { display: none; }
    .local__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero__btns { flex-direction: column; max-width: 300px; }
    .cta__btns  { flex-direction: column; align-items: center; }
    .depo-card  { min-width: 280px; max-width: 280px; }
    .sobre__values { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero__scroll { display: none; }
}