/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
    --blue-dark:    #133A63;
    --blue-medium:  #6C8BAE;
    --blue-light:   #A9BBD0;
    --warm-beige:   #B89F8A;
    --off-white:    #F5F7FA;
    --gray-dark:    #2F3A44;
    --green-sage:   #6D8D7F;
    --green-light:  #ADC2B6;
    --cream:        #E6D6C2;
    --white-pure:   #FBFAF7;

    --font-headline: 'Playfair Display', Georgia, serif;
    --font-body:     'Montserrat', sans-serif;

    --shadow-sm: 0 2px 12px rgba(19,58,99,.08);
    --shadow-md: 0 6px 24px rgba(19,58,99,.13);
    --shadow-lg: 0 12px 48px rgba(19,58,99,.18);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --transition: all .3s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--gray-dark);
    background: var(--off-white);
    line-height: 1.75;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--transition); }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3 { font-family: var(--font-headline); line-height: 1.2; color: var(--blue-dark); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem,  3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; }
p  { font-size: .97rem; line-height: 1.85; color: #4a5568; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; position: relative; }

.section-label {
    display: block;
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--warm-beige);
    margin-bottom: .6rem;
}
.section-title    { margin-bottom: 1.25rem; }
.section-subtitle { font-size: 1.05rem; color: #5a6a7a; max-width: 580px; margin-bottom: 3rem; }

.text-center { text-align: center; }
.mx-auto     { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 2rem; border-radius: 50px;
    font-family: var(--font-body); font-size: .92rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    border: 2px solid transparent; letter-spacing: .02em;
}
.btn-primary { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.btn-primary:hover { background: #0d2d4f; border-color: #0d2d4f; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--blue-dark); border-color: var(--blue-medium); }
.btn-outline:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-white:hover { background: var(--cream); border-color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   CARD BASE
============================================================ */
.card {
    background: #fff; border-radius: var(--radius-md);
    padding: 2.25rem 2rem; box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ============================================================
   FIXED HEADER
============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: .9rem 0;
    transition: transform .5s ease, background .4s ease, box-shadow .4s ease;
    transform: translateY(-100%);
}
.site-header.visible {
    transform: translateY(0);
    background: rgba(251,250,247,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo  { height: 46px; width: auto; }
.header-nav   { display: flex; align-items: center; gap: 2rem; }
.header-nav a:not(.btn) { font-size: .88rem; font-weight: 500; color: var(--gray-dark); }
.header-nav a:not(.btn):hover { color: var(--blue-dark); }
.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(19,58,99,.18);
    border-radius: 50%;
    background: #fff;
    color: var(--blue-dark);
    cursor: pointer;
    transition: var(--transition);
}
.mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: var(--transition);
}
.mobile-nav-toggle:hover { box-shadow: var(--shadow-sm); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    background-image: url('assets/images/hero.jpeg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
/* overlay: opaco à esquerda (texto) → transparente à direita (casal) */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(245,247,250,.97) 0%,
        rgba(245,247,250,.93) 35%,
        rgba(245,247,250,.55) 56%,
        transparent 75%
    );
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; width: 100%; }
.hero-content {
    max-width: 500px;
    padding: 9rem 0 7rem;
    text-align: center;
}
.hero-logo { width: 200px; margin: 0 auto 2.5rem; filter: drop-shadow(0 4px 16px rgba(19,58,99,.12)); }
.hero-tagline { font-weight: 700; color: var(--blue-dark); margin-bottom: 1.4rem; }
.hero-tagline em { font-style: italic; color: var(--warm-beige); }
.hero-subtitle { font-size: clamp(1rem,1.9vw,1.2rem); color: #3d5872; max-width: 420px; margin: 0 auto 2.5rem; }
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    color: var(--blue-medium); font-size: .72rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    animation: bob 2.2s ease infinite;
}
@keyframes bob {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(9px); }
}

/* ============================================================
   WAVE DIVIDERS
============================================================ */
.wave-bottom { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; }

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar { background: #fff; padding: 1.4rem 0; border-bottom: 1px solid rgba(169,187,208,.25); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 2.8rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .65rem; font-size: .82rem; font-weight: 600; color: var(--blue-dark); }
.trust-item svg { color: var(--warm-beige); flex-shrink: 0; }

/* ============================================================
   PROBLEM SECTION
============================================================ */
.section-problem { background: var(--white-pure); }

.problem-card {
    background: #fff; border-radius: var(--radius-md); padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden;
}
.problem-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue-medium), var(--warm-beige));
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.problem-card:hover::after { transform: scaleX(1); }
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.p-icon {
    width: 62px; height: 62px;
    background: linear-gradient(135deg,#edf3f8,#dae5ef);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
}
.p-icon svg { color: var(--blue-dark); }
.problem-card h3 { margin-bottom: .65rem; }

.problem-card p,
.solution-intro p,
.pillar-card p {
    text-align: justify;
}

/* ============================================================
   SOLUTION SECTION
============================================================ */
.section-solution { background: linear-gradient(158deg,#edf3f8 0%,#f0f5f9 100%); }

.solution-intro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; margin-bottom: 4rem;
}
.solution-text h2 { margin-bottom: 1.25rem; }
.solution-text p  { margin-bottom: 1.1rem; }

.stats-box {
    background: linear-gradient(145deg, var(--blue-dark), #1b4d80);
    border-radius: var(--radius-lg); padding: 3rem 2.5rem;
    color: #fff; text-align: center;
    box-shadow: 0 16px 48px rgba(19,58,99,.28);
}
.stats-box .stat { margin-bottom: 2rem; }
.stats-box .stat:last-child { margin-bottom: 0; }
.stat-divider { width: 56px; height: 1px; background: rgba(255,255,255,.2); margin: 2rem auto; }
.stat-num {
    font-family: var(--font-headline); font-size: 2.1rem; font-weight: 700;
    color: var(--cream); line-height: 1.2; letter-spacing: -.01em;
    text-wrap: balance;
}
.stat-lbl {
    font-size: 1rem; color: rgba(255,255,255,.8); margin-top: .4rem; font-weight: 400;
    line-height: 1.45; white-space: nowrap;
}

.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.pillar-card {
    background: #fff; border-radius: var(--radius-md); padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-num { font-family: var(--font-headline); font-size: .8rem; font-weight: 600; color: var(--warm-beige); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.pillar-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.4rem;
    box-shadow: 0 4px 16px rgba(19,58,99,.22);
}
.pillar-icon svg { color: #fff; }
.pillar-card h3 { margin-bottom: .65rem; font-size: 1.15rem; }

/* ============================================================
   SERVICES / MISSION
============================================================ */
.section-services { background: var(--white-pure); }
.section-mission { background: linear-gradient(158deg,#edf3f8 0%,#f5f7fa 100%); }
.service-card {
    text-align: left;
    border-top: 3px solid rgba(108,139,174,.28);
}
.service-card h3 {
    margin-bottom: .8rem;
    font-size: 1.15rem;
}
.service-card p {
    margin-bottom: 0;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.section-how { background: var(--white-pure); }

.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute;
    top: 40px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--blue-light), var(--warm-beige));
}
.tl-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; position: relative; }

.tl-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-dot {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fff; border: 2.5px solid var(--blue-medium);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem; position: relative; z-index: 2;
    transition: var(--transition); box-shadow: var(--shadow-sm);
}
.tl-dot svg { color: var(--blue-dark); transition: color .3s; }
.tl-item:hover .tl-dot { background: var(--blue-dark); border-color: var(--blue-dark); transform: scale(1.1); box-shadow: var(--shadow-md); }
.tl-item:hover .tl-dot svg { color: #fff; }

.tl-step { font-size: .7rem; font-weight: 700; color: var(--warm-beige); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.tl-item h3 { font-size: .98rem; margin-bottom: .4rem; }
.tl-item p  { font-size: .84rem; }

/* ============================================================
   FOR WHOM
============================================================ */
.section-whom { background: linear-gradient(158deg,#f5f0eb 0%,var(--cream) 50%,#ede3d8 100%); }

.whom-card {
    background: #fff; border-radius: var(--radius-md); padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    display: flex; flex-direction: column;
}
.whom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.whom-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg,var(--cream),#d0bba8);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
}
.whom-icon svg { color: var(--blue-dark); }
.whom-card h3 { margin-bottom: .65rem; }
.whom-card p  { font-size: .9rem; flex: 1; }
.card-arrow {
    margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .35rem;
    font-size: .78rem; font-weight: 700; color: var(--blue-dark);
    text-transform: uppercase; letter-spacing: .08em;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.section-testimonials { background: var(--off-white); }

.testimonial-card {
    background: #fff; border-radius: var(--radius-md); padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-mark { font-family: var(--font-headline); font-size: 4rem; line-height: .9; color: var(--blue-light); font-weight: 700; margin-bottom: .3rem; }
.stars { display: flex; gap: .2rem; margin-bottom: .85rem; }
.star  { color: var(--warm-beige); font-size: .95rem; }
.t-text { font-size: .93rem; font-style: italic; line-height: 1.85; color: #4a5568; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: .85rem; }
.avatar {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--blue-medium), var(--blue-light));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-headline); font-weight: 700; color: #fff; font-size: 1.1rem;
}
.t-name { font-weight: 600; font-size: .88rem; color: var(--blue-dark); }
.t-role { font-size: .78rem; color: var(--blue-medium); }

/* ============================================================
   FINAL CTA
============================================================ */
.section-final-cta {
    background: var(--blue-dark); padding: 6rem 0;
    position: relative; overflow: hidden;
}
.section-final-cta::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M35 85 Q22 60 35 35 Q48 60 35 85Z' fill='%236C8BAE' fill-opacity='0.09'/%3E%3Cpath d='M85 50 Q98 75 85 100 Q72 75 85 50Z' fill='%23A9BBD0' fill-opacity='0.07'/%3E%3C/svg%3E");
    background-size: 120px 120px; pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-final-inner h2  { color: #fff; font-size: clamp(2rem,4vw,3rem); margin-bottom: .9rem; }
.cta-final-inner > p { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-bottom: 2.5rem; }
.cta-final-inner .section-label { color: var(--warm-beige); }

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: linear-gradient(160deg, #0b2238 0%, #133A63 70%, #1a4a7a 100%);
    color: rgba(255,255,255,.65);
    padding: 5rem 0 2.5rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }

.footer-logo {
    height: 88px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: .92;
}
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.58); max-width: 270px; line-height: 1.75; }
.footer-brand .f-tagline {
    font-family: var(--font-headline);
    font-style: italic;
    color: rgba(255,255,255,.4);
    font-size: .92rem;
    margin-top: .85rem;
}

.footer-col h4 {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--warm-beige);
    margin-bottom: 1.3rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .8rem; }
.footer-col ul li a { font-size: .92rem; color: rgba(255,255,255,.58); }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .84rem; color: rgba(255,255,255,.35); }
.footer-services { font-family: var(--font-headline); font-style: italic; font-size: .88rem; color: rgba(255,255,255,.4); }
.footer-credit {
    margin-top: 1.5rem;
    text-align: center;
    font-size: .84rem;
    color: rgba(255,255,255,.35);
}
.footer-credit a {
    color: rgba(255,255,255,.78);
}
.footer-credit a:hover {
    color: #fff;
}

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.wa-bubble {
    background: #fff; border-radius: 10px 10px 0 10px; padding: .7rem 1rem;
    box-shadow: var(--shadow-md); font-size: .83rem; color: var(--gray-dark);
    font-weight: 500; white-space: nowrap;
    animation: fadeSlideIn .5s .8s both;
}
.wa-btn {
    width: 60px; height: 60px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.38);
    transition: var(--transition); cursor: pointer;
    animation: fadeSlideIn .5s .6s both;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-btn svg { color: #fff; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.anim { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.anim.in { opacity: 1; transform: translateY(0); }
.anim[data-delay="1"] { transition-delay: .1s; }
.anim[data-delay="2"] { transition-delay: .2s; }
.anim[data-delay="3"] { transition-delay: .3s; }
.anim[data-delay="4"] { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .solution-intro { grid-template-columns: 1fr; gap: 2.5rem; }
    .pillars-grid   { grid-template-columns: repeat(2,1fr); }
    .footer-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .grid-3, .pillars-grid, .tl-grid { grid-template-columns: 1fr; }
    .tl-grid { gap: 1.5rem; }
    .timeline::before { display: none; }
    .header-inner { position: relative; }
    .mobile-nav-toggle { display: inline-flex; }
    .header-nav {
        position: absolute;
        top: calc(100% + .8rem);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: 1rem;
        border-radius: var(--radius-sm);
        background: rgba(251,250,247,.98);
        box-shadow: var(--shadow-md);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease;
    }
    .header-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .header-nav a {
        justify-content: center;
        padding: .75rem 1rem;
        text-align: center;
    }
    .header-nav .btn { margin-top: .35rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .stats-box { padding: 2.5rem 1.5rem; }
    .stat-lbl { white-space: normal; }
    .hero { background-position: 72% center; }
    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(245,247,250,.97) 0%,
            rgba(245,247,250,.92) 60%,
            rgba(245,247,250,.72) 100%
        );
    }
    .hero-content { padding: 8rem 0 6rem; max-width: 100%; }
    .hero-logo { width: 150px; }
}
@media (max-width: 480px) {
    .hero-tagline { font-size: 2.3rem; }
    .hero-cta-group { flex-direction: column; align-items: center; }
}
