/* =========================
   Tarrif + Pricing Page
========================= */

/* =========================
   GE SunGrid Tarifs Page
   CSS Part 1
   Global + Navbar + Hero
========================= */

:root {
    --navy: #031426;
    --navy-2: #061b31;
    --navy-3: #0b2742;
    --yellow: #ffc21a;
    --yellow-2: #ffda5c;
    --white: #ffffff;
    --light: #f6f8fb;
    --text: #101828;
    --muted: #667085;
    --border: rgba(255, 255, 255, 0.16);
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    --radius: 24px;
    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", "Inter", Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================
   Buttons
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 900;
    transition: all 0.35s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-yellow {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
    color: var(--navy);
    box-shadow: 0 14px 35px rgba(255, 194, 26, 0.3);
}

.btn-yellow:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(255, 194, 26, 0.46);
}

.btn-yellow::after,
.btn-dark::after,
.btn-outline-yellow::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-yellow:hover::after,
.btn-dark:hover::after,
.btn-outline-yellow:hover::after {
    transform: translateX(5px);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--yellow);
    color: var(--navy);
    transform: translateY(-4px);
}

.btn-outline-yellow {
    color: var(--yellow);
    border: 2px solid var(--yellow);
    background: transparent;
}

.btn-outline-yellow:hover {
    background: var(--yellow);
    color: var(--navy);
    transform: translateY(-4px);
}

/* =========================
   Pricing Hero
========================= */

.pricing-hero {
    position: relative;
    min-height: 640px;
    color: var(--white);
    background:
        linear-gradient(90deg,
            rgba(3, 20, 38, 0.99) 0%,
            rgba(3, 20, 38, 0.92) 35%,
            rgba(3, 20, 38, 0.58) 70%,
            rgba(3, 20, 38, 0.28) 100%),
        url("images/DD9FAB79-5AF0-4FEC-9DD6-CE747298600D.PNG") center/cover no-repeat;
    overflow: hidden;
}

.pricing-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* =========================
   Navbar
========================= */

.navbar {
    position: relative;
    z-index: 5;
    width: min(var(--max-width), 92%);
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.8s ease both;
}

.logo {
    line-height: 1;
}

.logo span {
    display: block;
    font-size: 48px;
    font-weight: 950;
    color: var(--yellow);
    letter-spacing: -3px;
}

.logo small {
    display: block;
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    margin-top: -9px;
    margin-left: 47px;
}

.logo p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    position: relative;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 0;
    height: 3px;
    background: var(--yellow);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-actions span {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
}

/* =========================
   Hero Content
========================= */

.hero-content {
    position: relative;
    z-index: 4;
    width: min(var(--max-width), 92%);
    margin: 0 auto;
    padding: 70px 0 80px;
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 70px;
    align-items: end;
}

.section-label {
    position: relative;
    display: inline-block;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-label::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    background: var(--yellow);
    border-radius: 999px;
    margin-top: 10px;
}

.section-label.centered {
    text-align: center;
    color: var(--yellow);
    left: 50%;
    transform: translateX(-50%);
}

.section-label.centered::after {
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    max-width: 760px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -3px;
    margin-bottom: 28px;
    animation: fadeUp 0.9s ease both 0.15s;
}

.hero-content h1 span {
    display: block;
    color: var(--yellow);
}

.hero-content p {
    max-width: 670px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    font-weight: 500;
    animation: fadeUp 0.9s ease both 0.3s;
}

/* =========================
   Hero Benefits
========================= */

.hero-benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 850px;
    margin-top: 18px;
    animation: fadeUp 0.9s ease both 0.45s;
}

.hero-benefits div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
    padding: 0 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-benefits div:first-child {
    padding-left: 0;
}

.hero-benefits div:last-child {
    border-right: none;
}

.hero-benefits span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--yellow);
    font-size: 30px;
}

.hero-benefits h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.hero-benefits p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.76);
}

/* =========================
   Saving Card
========================= */

.saving-card {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: end;
    padding: 34px;
    border-radius: 22px;
    background: rgba(4, 20, 38, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    animation: floatIn 1s ease both 0.65s;
}

.saving-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--navy);
    font-size: 36px;
    margin-bottom: 24px;
    box-shadow: 0 18px 44px rgba(255, 194, 26, 0.35);
}

.saving-card h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.saving-card p {
    font-size: 15px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.84);
}

/* =========================
   Animations
========================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(34px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   Responsive Part 1
========================= */

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .saving-card {
        grid-column: auto;
        grid-row: auto;
        max-width: 430px;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-benefits div {
        border-right: none;
        padding: 0;
    }
}

@media (max-width: 700px) {
    .pricing-hero {
        min-height: auto;
    }

    .navbar {
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }

    .nav-actions {
        flex-direction: column;
        gap: 14px;
    }

    .hero-content {
        padding: 48px 0 60px;
        gap: 38px;
    }

    .hero-content h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .saving-card {
        padding: 28px;
    }

    .btn {
        width: 100%;
    }
}

/* =========================
   GE SunGrid Tarifs Page
   CSS Part 2
   Pricing Cards + Included Panel
========================= */

/* =========================
   Offers Section
========================= */

.offers-section {
    padding: 70px 4% 40px;
    background: var(--light);
}

.offers-section h2 {
    text-align: center;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 38px;
}

.offers-layout {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 34px;
    align-items: stretch;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.price-card {
    position: relative;
    min-height: 420px;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(3, 20, 38, 0.1);
    box-shadow: 0 18px 48px rgba(3, 20, 38, 0.08);
    transition: all 0.4s ease;
    animation: fadeUp 0.9s ease both;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(3, 20, 38, 0.16);
    border-color: rgba(255, 194, 26, 0.65);
}

.price-card.popular {
    border-color: var(--yellow);
    box-shadow: 0 20px 58px rgba(255, 194, 26, 0.16);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--navy);
    padding: 7px 26px;
    border-radius: 0 0 999px 999px;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.price-head {
    min-height: 120px;
    padding: 30px 20px 36px;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at top, rgba(255, 194, 26, 0.08), transparent 35%),
        var(--navy);
}

.price-head h3 {
    color: var(--yellow);
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.price-head p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.84);
}

.price-icon {
    position: relative;
    z-index: 3;
    width: 72px;
    height: 72px;
    margin: -36px auto 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--yellow);
    border: 3px solid var(--white);
    font-size: 32px;
    box-shadow: 0 14px 34px rgba(3, 20, 38, 0.22);
    transition: all 0.35s ease;
}

.price-card:hover .price-icon {
    background: var(--yellow);
    color: var(--navy);
    transform: scale(1.08) rotate(-6deg);
}

.price-card ul {
    padding: 0 28px;
    margin-bottom: 30px;
}

.price-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 13px;
    color: #243447;
    font-size: 14px;
    font-weight: 700;
}

.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--navy);
    font-size: 11px;
    font-weight: 950;
}

.price-bottom {
    padding: 22px 28px 28px;
    border-top: 1px solid rgba(3, 20, 38, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.price-bottom small {
    display: block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.price-bottom strong {
    display: block;
    color: var(--navy);
    font-size: 36px;
    line-height: 1;
    letter-spacing: -1px;
}

.price-bottom .btn {
    padding: 12px 16px;
    font-size: 12px;
    border-radius: 10px;
}

/* =========================
   Included Panel
========================= */

.included-card {
    min-height: 420px;
    padding: 34px;
    border-radius: 18px;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(255, 194, 26, 0.14), transparent 35%),
        var(--navy);
    box-shadow: var(--shadow);
    animation: fadeUp 0.9s ease both 0.25s;
}

.included-card h3 {
    color: var(--yellow);
    font-size: 24px;
    margin-bottom: 28px;
}

.included-card li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 14px;
}

.included-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--yellow);
    border: 1px solid rgba(255, 194, 26, 0.45);
    border-radius: 8px;
    font-size: 12px;
}

.included-card p {
    margin-top: 36px;
    color: var(--yellow);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 900;
}

.included-card p::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: var(--yellow);
    border-radius: 999px;
    margin-top: 18px;
}

/* =========================
   Stagger Animations
========================= */

.price-card:nth-child(1) {
    animation-delay: 0.05s;
}

.price-card:nth-child(2) {
    animation-delay: 0.16s;
}

.price-card:nth-child(3) {
    animation-delay: 0.27s;
}

/* =========================
   Responsive Part 2
========================= */

@media (max-width: 1150px) {
    .offers-layout {
        grid-template-columns: 1fr;
    }

    .included-card {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .price-cards {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: auto;
    }

    .price-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-bottom .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .offers-section {
        padding: 55px 5% 35px;
    }

    .price-head {
        min-height: 110px;
    }

    .price-bottom strong {
        font-size: 32px;
    }

    .included-card {
        padding: 28px;
    }
}

/* =========================
   GE SunGrid Tarifs Page
   CSS Part 3
   Estimate Table + Quote Card
========================= */

/* =========================
   Estimate Section
========================= */

.estimate-section {
    padding: 0 4% 80px;
    background: var(--light);
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 34px;
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    align-items: stretch;
}

.estimate-table-wrap h2 {
    color: var(--navy);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.estimate-table-wrap h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 12px;
    background: var(--yellow);
    border-radius: 999px;
}

.estimate-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(3, 20, 38, 0.08);
}

.estimate-table th,
.estimate-table td {
    padding: 22px 26px;
    text-align: left;
    border: 1px solid rgba(3, 20, 38, 0.08);
    font-size: 14px;
}

.estimate-table th {
    color: var(--navy);
    text-transform: uppercase;
    font-weight: 950;
    background: rgba(3, 20, 38, 0.04);
}

.estimate-table td {
    color: #243447;
    font-weight: 700;
}

.estimate-table tr {
    transition: all 0.3s ease;
}

.estimate-table tbody tr:hover {
    background: rgba(255, 194, 26, 0.08);
}

/* =========================
   Quote Card
========================= */

.quote-card {
    align-self: end;
    padding: 36px;
    border-radius: 20px;
    color: var(--white);
    background:
        radial-gradient(circle at bottom right, rgba(255, 194, 26, 0.12), transparent 34%),
        var(--navy);
    box-shadow: var(--shadow);
    animation: fadeUp 0.9s ease both 0.2s;
}

.quote-card h3 {
    font-size: 26px;
    line-height: 1.18;
    margin-bottom: 16px;
}

.quote-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    margin-bottom: 26px;
}

.quote-card .btn {
    margin-bottom: 24px;
}

.quote-card strong {
    display: block;
    font-size: 24px;
    color: var(--white);
}

/* =========================
   Responsive Part 3
========================= */

@media (max-width: 1000px) {
    .estimate-section {
        grid-template-columns: 1fr;
    }

    .quote-card {
        align-self: auto;
    }
}

@media (max-width: 700px) {
    .estimate-section {
        padding: 0 5% 65px;
    }

    .estimate-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .estimate-table th,
    .estimate-table td {
        padding: 18px 20px;
    }

    .quote-card {
        padding: 28px;
    }

    .quote-card .btn {
        width: 100%;
    }
}

/* =========================
   GE SunGrid Tarifs Page
   CSS Part 4
   Footer + Final Polish + Mobile
========================= */

/* =========================
   Footer
========================= */

.footer {
    background: #020d1a;
    color: var(--white);
    padding: 80px 4% 0;
}

.footer-grid {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 42px;
    padding-bottom: 55px;
}

.footer .logo {
    margin-bottom: 22px;
}

.footer h4 {
    font-size: 17px;
    margin-bottom: 18px;
    color: var(--white);
}

.footer p,
.footer a {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--yellow);
    transform: translateX(5px);
}

.footer-bottom {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom div {
    display: flex;
    gap: 24px;
}

/* =========================
   Final UI Polish
========================= */

::selection {
    background: var(--yellow);
    color: var(--navy);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020d1a;
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 999px;
}

section {
    scroll-margin-top: 90px;
}

button,
a,
article,
div {
    -webkit-tap-highlight-color: transparent;
}

.price-card,
.included-card,
.quote-card,
.footer a {
    will-change: transform;
}

/* =========================
   Optional Reveal Animation
========================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    animation: revealUp 0.9s ease forwards;
}

.reveal.delay-1 {
    animation-delay: 0.15s;
}

.reveal.delay-2 {
    animation-delay: 0.3s;
}

.reveal.delay-3 {
    animation-delay: 0.45s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Focus Accessibility
========================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

/* =========================
   Tablet Responsive
========================= */

@media (max-width: 1050px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================
   Mobile Responsive
========================= */

@media (max-width: 650px) {
    body {
        font-size: 15px;
    }

    .section-label {
        font-size: 11px;
    }

    .footer {
        padding-top: 65px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .logo span {
        font-size: 42px;
    }

    .logo small {
        margin-left: 38px;
    }
}

/* =========================
   Reduced Motion Support
========================= */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}