
/* ==========================================
   FRANQUIA - @TECH ROBÓTICA
   CSS EXCLUSIVO DA PÁGINA
========================================== */

.franchise-page {
    width: 100%;
    overflow: hidden;
}

.franchise-page *,
.franchise-page *::before,
.franchise-page *::after {
    box-sizing: border-box;
}

/* ==========================================
   01. HERO INSTITUCIONAL
========================================== */

.franchise-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 530px;
    padding: 115px 7% 145px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(13, 127, 132, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #F2F9FA 0%,
            #EAF5F6 100%
        );

    overflow: hidden;
}

.franchise-hero::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: -210px;
    right: -120px;

    border: 75px solid rgba(13, 127, 132, 0.055);
    border-radius: 50%;

    pointer-events: none;
}

.franchise-hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 950px;

    margin: 0 auto;
    text-align: center;

    animation: franchiseHeroFade 0.9s ease-out both;
}

.franchise-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 11px 20px;
    margin-bottom: 26px;

    border-radius: 50px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.franchise-kicker i {
    font-size: 15px;
}

.franchise-main-title {
    margin: 0 0 25px;

    color: #004E62;

    font-size: clamp(38px, 4.5vw, 66px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.franchise-main-title span {
    color: #0D7F84;
}

.franchise-main-text {
    max-width: 740px;
    margin: 0 auto;

    color: #52636B;

    font-size: 17px;
    line-height: 1.85;
}

/* Botão do hero */

.franchise-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    margin-top: 35px;
    padding: 17px 29px;

    background: #0D7F84;
    color: #FFFFFF;

    border-radius: 50px;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 10px 25px rgba(13, 127, 132, 0.17);

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.franchise-hero-btn:hover {
    background: #005467;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 127, 132, 0.25);
}

.franchise-hero-btn i {
    font-size: 12px;
}

/* Onda de transição */

.franchise-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;

    width: 100%;
    height: 95px;

    z-index: 3;
    pointer-events: none;
    line-height: 0;
}

.franchise-hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes franchiseHeroFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   02. EDUCAÇÃO 4.0
========================================== */

.franchise-story {
    position: relative;
    padding: 105px 7% 115px;
    background: #FFFFFF;
    scroll-margin-top: 110px;
}

.franchise-story-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.franchise-story-head {
    max-width: 950px;
    margin: 0 auto 50px;
    text-align: center;
}

.franchise-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
    margin-bottom: 23px;

    border-radius: 50px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.franchise-section-title {
    margin: 0 0 22px;

    color: #004E62;

    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.franchise-section-title span {
    color: #0D7F84;
}

.franchise-section-description {
    max-width: 720px;
    margin: 0 auto;

    color: #52636B;

    font-size: 17px;
    line-height: 1.8;
}

.franchise-story-card {
    position: relative;

    padding: 65px 75px;

    background: linear-gradient(
        135deg,
        #F2F9FA 0%,
        #FFFFFF 100%
    );

    border: 1px solid #E2EFF0;
    border-radius: 30px;

    box-shadow: 0 18px 45px rgba(0, 84, 103, 0.055);

    overflow: hidden;
}

.franchise-story-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    bottom: 0;

    width: 7px;

    background: linear-gradient(
        180deg,
        #0D7F84,
        #7CE0DF
    );
}

.franchise-story-content {
    max-width: 1030px;
    margin: 0 auto;
}

.franchise-story-content p {
    margin: 0 0 25px;

    color: #52636B;

    font-size: 17px;
    line-height: 1.95;
}

.franchise-story-content p:last-child {
    margin-bottom: 0;
}

.franchise-story-content strong {
    color: #005467;
    font-weight: 800;
}


/* ==========================================
   03. DESTAQUE - EDUCAÇÃO 4.0
========================================== */

.franchise-highlight {
    position: relative;
    padding: 90px 7%;
    background: #FFFFFF;
}

.franchise-highlight-container {
    max-width: 1350px;
    margin: 0 auto;
}

.franchise-highlight-box {
    position: relative;

    display: flex;
    align-items: center;
    gap: 55px;

    min-height: 330px;
    padding: 65px 70px;

    border-radius: 32px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(124, 224, 223, 0.23),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0D7F84 0%,
            #005467 58%,
            #003E50 100%
        );

    box-shadow: 0 22px 55px rgba(0, 84, 103, 0.15);
}

.franchise-highlight-box::before {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    top: -160px;
    right: -110px;

    border: 60px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;

    pointer-events: none;
}

.franchise-highlight-icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 125px;
    height: 125px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #FFFFFF;
    font-size: 52px;

    backdrop-filter: blur(8px);
}

.franchise-highlight-text {
    position: relative;
    z-index: 2;

    max-width: 900px;
}

/* Títulos compartilhados somente na franquia */

.franchise-page .section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 10px 20px;
    margin-bottom: 23px;

    border-radius: 50px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.franchise-page .section-title {
    margin: 0 auto 20px;

    color: #004E62;

    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1px;
}

.franchise-page .section-title span {
    color: #0D7F84;
}

.franchise-page .section-text {
    max-width: 740px;
    margin: 0 auto;

    color: #52636B;

    font-size: 17px;
    line-height: 1.8;
}

/* Cores do bloco de destaque */

.franchise-highlight-text .section-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #C6EEEE;
}

.franchise-highlight-text .section-title {
    margin: 0 0 23px;
    color: #FFFFFF;
}

.franchise-highlight-text .section-title span {
    color: #7CE0DF;
}

.franchise-highlight-text .section-text {
    max-width: 850px;
    margin: 0;

    color: rgba(255, 255, 255, 0.88);
}


/* ==========================================
   04. INDICADORES FINANCEIROS
========================================== */

.franchise-numbers {
    position: relative;
    padding: 115px 6% 120px;
    background: #F2F9FA;
}

.franchise-numbers-container {
    max-width: 1350px;
    margin: 0 auto;
}

.franchise-numbers-head {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.franchise-numbers-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

/* Cinco cards:
   3 na primeira linha e
   2 centralizados na segunda */

.number-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    grid-column: span 2;

    min-width: 0;
    min-height: 245px;

    padding: 35px 30px;

    background: #FFFFFF;

    border: 1px solid #E2EFF0;
    border-radius: 26px;

    box-shadow: 0 8px 25px rgba(0, 84, 103, 0.04);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.number-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.number-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.number-card:hover {
    transform: translateY(-8px);
    border-color: #C6E5E7;
    box-shadow: 0 22px 45px rgba(0, 84, 103, 0.12);
}

/* Ícones */

.number-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin-bottom: 27px;

    border-radius: 18px;

    font-size: 26px;
}

.number-card--purple .number-icon {
    background: #EFE7F7;
    color: #65328A;
}

.number-card--pink .number-icon {
    background: #FCE9F0;
    color: #CE477B;
}

.number-card--gold .number-icon {
    background: #FFF3D7;
    color: #BE8A18;
}

.number-card--teal .number-icon {
    background: #DDF1F2;
    color: #0D7F84;
}

/* Textos */

.number-title {
    margin: 0 0 13px;

    color: #52636B;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.number-value {
    margin: 0;

    color: #004E62;

    font-size: clamp(25px, 2.3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.number-detail {
    margin: 12px 0 0;

    color: #0D7F84;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.franchise-numbers-note {
    max-width: 900px;
    margin: 32px auto 0;

    color: #718087;

    font-size: 12px;
    line-height: 1.75;
    text-align: center;
}


/* ==========================================
   05. DIFERENCIAIS DA FRANQUIA
========================================== */

.franchise-benefits {
    position: relative;
    padding: 115px 6% 125px;
    background: #FFFFFF;
}

.franchise-benefits-container {
    max-width: 1350px;
    margin: 0 auto;
}

.franchise-benefits-head {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.franchise-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 26px;
}

.benefit-box {
    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    padding: 43px 35px;

    background: linear-gradient(
        145deg,
        #FFFFFF 0%,
        #F8FCFC 100%
    );

    border: 1px solid #E2EFF0;
    border-radius: 28px;

    box-shadow: 0 8px 25px rgba(0, 84, 103, 0.035);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.benefit-box:hover {
    transform: translateY(-8px);
    border-color: #C6E5E7;
    box-shadow: 0 22px 45px rgba(0, 84, 103, 0.1);
}

.benefit-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin-bottom: 30px;

    border-radius: 20px;

    background: #DDF1F2;
    color: #0D7F84;

    font-size: 28px;
}

.benefit-box:nth-child(2) .benefit-box-icon {
    background: #EFE7F7;
    color: #65328A;
}

.benefit-box:nth-child(3) .benefit-box-icon {
    background: #FFF3D7;
    color: #BE8A18;
}

.benefit-box h3 {
    margin: 0 0 17px;

    color: #004E62;

    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

.benefit-box p {
    margin: 0;

    color: #52636B;

    font-size: 15px;
    line-height: 1.85;
}


/* ==========================================
   06. CTA FINAL
========================================== */

.franchise-cta {
    position: relative;
    padding: 85px 6% 105px;
    background: #F2F9FA;
}

.franchise-cta-container {
    max-width: 1350px;
    margin: 0 auto;
}

.franchise-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;

    padding: 55px 60px;

    background: linear-gradient(
        135deg,
        #005467 0%,
        #003E50 100%
    );

    border-radius: 30px;

    box-shadow: 0 20px 45px rgba(0, 84, 103, 0.15);
}

.franchise-cta-text {
    max-width: 760px;
}

.franchise-cta-text .section-kicker {
    margin-bottom: 20px;

    background: rgba(255, 255, 255, 0.14);
    color: #C6EEEE;
}

.franchise-cta-text .section-title {
    margin: 0 0 20px;
    color: #FFFFFF;
}

.franchise-cta-text .section-title span {
    color: #7CE0DF;
}

.franchise-cta-text .section-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* Botão WhatsApp */

.franchise-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-shrink: 0;

    padding: 18px 27px;

    background: #0D7F84;
    color: #FFFFFF;

    border-radius: 50px;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.franchise-whatsapp-btn:hover {
    transform: translateY(-3px);
    background: #0A979C;
    color: #FFFFFF;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}


/* ==========================================
   TABLET - ATÉ 1100PX
========================================== */

@media (max-width: 1100px) {

    .franchise-hero {
        padding: 100px 6% 130px;
    }

    .franchise-story {
        padding: 90px 6% 100px;
    }

    .franchise-story-card {
        padding: 50px;
    }

    .franchise-highlight {
        padding: 70px 6%;
    }

    .franchise-highlight-box {
        padding: 50px;
        gap: 35px;
    }

    .franchise-highlight-icon {
        width: 105px;
        height: 105px;
        font-size: 44px;
    }

    .franchise-numbers {
        padding: 95px 6% 105px;
    }

    .franchise-benefits {
        padding: 95px 6% 105px;
    }

    .franchise-cta-box {
        padding: 45px;
    }

}


/* ==========================================
   TABLET MENOR - ATÉ 900PX
========================================== */

@media (max-width: 900px) {

    .franchise-highlight-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .franchise-numbers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .number-card,
    .number-card:nth-child(4),
    .number-card:nth-child(5) {
        grid-column: auto;
    }

    .franchise-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .franchise-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ==========================================
   MOBILE - ATÉ 768PX
========================================== */

@media (max-width: 768px) {

    /* HERO */

    .franchise-hero {
        min-height: auto;
        padding: 95px 7% 120px;
    }

    .franchise-hero::before {
        width: 250px;
        height: 250px;

        top: -120px;
        right: -100px;

        border-width: 45px;
    }

    .franchise-kicker {
        padding: 10px 16px;
        margin-bottom: 23px;
        font-size: 11px;
    }

    .franchise-main-title {
        margin-bottom: 22px;

        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .franchise-main-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .franchise-hero-btn {
        margin-top: 28px;
        padding: 15px 24px;
        font-size: 13px;
    }

    .franchise-hero-wave {
        height: 70px;
    }

    /* EDUCAÇÃO 4.0 */

    .franchise-story {
        padding: 75px 6% 85px;
    }

    .franchise-story-head {
        margin-bottom: 35px;
    }

    .franchise-chip {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .franchise-section-title {
        font-size: clamp(29px, 8vw, 39px);
    }

    .franchise-section-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .franchise-story-card {
        padding: 35px 26px;
        border-radius: 22px;
    }

    .franchise-story-card::before {
        width: 5px;
    }

    .franchise-story-content p {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 1.85;
    }

    /* DESTAQUE */

    .franchise-highlight {
        padding: 65px 6%;
    }

    .franchise-highlight-box {
        min-height: auto;
        padding: 35px 28px;
        gap: 30px;
        border-radius: 24px;
    }

    .franchise-highlight-icon {
        width: 80px;
        height: 80px;
        border-radius: 22px;
        font-size: 35px;
    }

    .franchise-page .section-kicker {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .franchise-page .section-title {
        margin-bottom: 18px;
        font-size: clamp(29px, 8vw, 39px);
    }

    .franchise-page .section-text {
        font-size: 14px;
        line-height: 1.75;
    }

    /* INDICADORES */

    .franchise-numbers {
        padding: 80px 6% 90px;
    }

    .franchise-numbers-head {
        margin-bottom: 40px;
    }

    .franchise-numbers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .number-card {
        min-height: auto;
        padding: 32px 28px;
        border-radius: 22px;
    }

    .number-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 22px;

        font-size: 24px;
        border-radius: 16px;
    }

    .number-title {
        font-size: 15px;
    }

    .number-value {
        font-size: clamp(26px, 7vw, 34px);
    }

    .number-detail {
        font-size: 12px;
    }

    .franchise-numbers-note {
        margin-top: 25px;
        font-size: 11px;
    }

    /* DIFERENCIAIS */

    .franchise-benefits {
        padding: 80px 6% 90px;
    }

    .franchise-benefits-head {
        margin-bottom: 40px;
    }

    .franchise-benefits-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .benefit-box {
        padding: 35px 28px;
        border-radius: 22px;
    }

    .benefit-box-icon {
        width: 60px;
        height: 60px;

        margin-bottom: 25px;

        border-radius: 17px;
        font-size: 25px;
    }

    .benefit-box h3 {
        font-size: 21px;
    }

    .benefit-box p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* CTA */

    .franchise-cta {
        padding: 70px 6% 90px;
    }

    .franchise-cta-box {
        padding: 32px 25px;
        border-radius: 22px;
        gap: 28px;
    }

    .franchise-cta-text .section-title {
        font-size: 30px;
    }

    .franchise-whatsapp-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 13px;
    }

}


/* ==========================================
   CELULARES MENORES - ATÉ 380PX
========================================== */

@media (max-width: 380px) {

    .franchise-hero {
        padding: 80px 6% 110px;
    }

    .franchise-main-title {
        font-size: 30px;
    }

    .franchise-main-text {
        font-size: 13px;
    }

    .franchise-story-card {
        padding: 30px 21px;
    }

    .franchise-highlight-box {
        padding: 30px 23px;
    }

    .franchise-highlight-text .section-title {
        font-size: 28px;
    }

    .number-card {
        padding: 28px 24px;
    }

    .number-value {
        font-size: 26px;
    }

    .franchise-cta-box {
        padding: 28px 22px;
    }

}


/* ==========================================
   ACESSIBILIDADE
========================================== */

@media (prefers-reduced-motion: reduce) {

    .franchise-hero-container {
        animation: none;
    }

    .franchise-hero-btn,
    .number-card,
    .benefit-box,
    .franchise-whatsapp-btn {
        transition: none;
    }

}
