---
url: 'https://edp.com/en/what-we-do/renewables/solar-energy/believe-sun'
title: 'Believe in the Sun'
author:
  name: 'Carmo Sassetti da Mota Observador'
  url: 'https://edp.com/en/user-account/536'
date: '2025-10-30T12:13:08+00:00'
updated: '2026-01-28T09:59:31+00:00'
type: campaign
tags:
  - 'Renewable Energy deployment'
  - 'Solar Energy'
  - Global
image: 'https://edp.com/themes/edp/edp_scorp/assets/img/EDP_header_image_default.png'
published: true
og:
  'image:url': 'https://edp.com/themes/edp/edp_scorp/assets/img/EDP_header_image_default.png'
---
##  [Believe in the Sun](/en/what-we-do/renewables/solar-energy/believe-sun)

 Core Topics

Solar Energy

Published date

2025-10-30T12:00:00Z

   

 start the journey

  

  

  

# Believe in the Sun

 [Get to know our projects ](#anchor)

## At EDP, **we believe choosing Earth** implies looking at the Sun for clean, affordable energy solutions. And we’re committed to bring solar power to everyone, everywhere.

This section summarizes EDP's commitment to solar energy, including installed capacity by region and a visual illustration.

 Solar energy installed capacity until June 2024

- **North America**

     &gt; 1,500MW
- **Europe**

     &gt; 900MW
- **South America**

     &gt; 650MW
- **APAC**

     &gt; 900MW

## EDP is leading the change towards a brighter future, with solar decentralised energy at the heart of our strategy

This section highlights EDP's solar impact: families, businesses, social beneficiaries, and CO2 reduction, with icons and accessible descriptions.

- ### 152,000

    Families with solar panels
    (by June 2024)
- ### &gt; 14,000

    B2B installations
    (by June 2024)
- ### &gt; 1,400

    Social impact direct beneficiaries
    (by June 2024)
- ### ~350,000 tCO2

    emissions reduced
    (by June 2024)

    

  

  

Sun icon: Symbolizes solar energy powering communities.

Solar panel icon: Represents solar installations and technology.

Tree icon: Represents environmental sustainability and green impact.

## Explore our diverse portfolio of solar projects that are lighting up communities, empowering businesses and moving us towards a more sustainable future.

This section introduces EDP's solar project portfolio, with accessible icons and navigation instructions for discovering more projects.

 Swipe left to discover more

### Our commitment to solar extends to both large-scale and decentralised projects, ensuring a robust renewable energy landscape.

#### Centralised

- ## Brazil

    ### Pereira Barreto

     Read more
- ## North America

    ### Misenheimer

     Read more

#### Distributed Generation

- ## Brazil

    ### McDonald's

     Read more
- ## Singapore

    ### SolarNova 8

     Read more
- ## Europe

    ### Decathlon

     Read more
- ## North America

    ### Scripps Health Systems

     Read more

###  We are pioneers in the future of solar through cutting-edge research, exploring hybrid applications and innovative deployment strategies.

####  Hybrid

- ##  Spain

    ###  3 Connected Solar Parks

     Read more
- ##  Portugal

    ###  Sabugal

     Read more

####  Offshore

- ##  Portugal

    ###  Alqueva

     Read more

####  Storage

- ##  North America

    ###  Scarlet

     Read more

###  Promoting social equity and fostering connections, EDP leverages solar energy to empower communities through impactful initiatives and collaborative projects.

####  Social Impact

- ##  Portugal

    ###  Bairro Solar Cova da Moura

     Read more

####  Solar Neighborhood

- ##  Portugal

    ###  FIL

     Read more

  

 São Paulo, Brasil

## Pereira Barreto

### About the project

Launched in 2021 and located in Pereira Barreto, State of São Paulo, the complex represents the largest solar complex ever developed, built and operated by EDP in Brazil. It is fully in line with EDP's ambitious energy transition commitments and represents the company's bet on diversification in photovoltaic solar energy in Brazil.

### Installed Capacity

The solar complex has an installed capacity of 203 MWacp, distributed over nearly 600,000 photovoltaic panels.

### Achievements

The project has had a strong impact on the socio-economic development of the region, creating 1,500 jobs, more than half (56%) at a regional level. Additionally, the complex contributes to substantial environmental benefits by preventing the emission of more than 150 tons of CO2 annually.

### Did you know?

The annual energy production of 547,000 MWh is enough to supply a city with 750,000 inhabitants.

 [Learn more](https://edp.com/en/europe/portugal/media/news/edp-inaugurates-brazil-groups-largest-solar-complex)

  

 North Carolina, USA

## Misenheimer Solar Park

### About the project

Misenheimer Solar Park, located in the Village of Misenheimer in Stanly County, North Carolina, is designed to complement the region's agricultural resources by providing landowners with stable income through lease payments. Known for its educational institutions and historical significance as a tourist destination, the town benefits economically from the solar park, which supports North Carolina’s energy grid and contributes to the economic development of surrounding communities.

### Installed Capacity

Total installed capacity: 74 MW. 
 The solar park consists of approximately 200,000 photovoltaic panels and will generate electricity equivalent to the average consumption of over 12,000 North Carolina homes.

### Expected achievements

Water savings: More than 93 million gallons of water are saved annually.  
 Pollution prevention: The park will prevent air pollution that causes smog, acid rain, and climate change. Additionally, it will displace carbon emissions from fossil fuel power plants, contributing to improved air quality and public health.

### Did you know?

Over the lifespan of the solar park, local landowners will be paid more than $27 million for their participation in the project, with an additional estimated $3.5 million to be disbursed to local governments to support schools, roads, public transportation, and other community services.

 [Learn more](https://www.edpr.com/north-america/EDP-Renewables-Celebrates-First-North-Carolina-Solar-Park%20)

  

 São Paulo and Minas Gerais, Brazil

##  McDonald's

###  About the project

 EDP Brazil has built three photovoltaic power plants to supply clean energy to 28 McDonald's restaurants and seven kiosks in the states of São Paulo and Minas Gerais. The project is part of McDonald's sustainability strategy in Brazil, where the restaurants are operated by Arcos Dorados, the brand responsible for franchising in Latin America.

###  Installed Capacity

 Total installed capacity: 6.6 MWp. 
 Annual energy production: More than 11,000 MWh. 
 Photovoltaic panels: 16,200 with tracking technology.

###  Achievements

 Emissions avoided: 725 tonnes of CO2 per year, equivalent to planting 5,000 trees. 
 Energy certification: I-REC (International REC Standard) for renewable energy. consumption.

###  Did you know?

 EDP has also partnered with McDonald's in Portugal, providing energy efficiency solutions and installing more than 150 fast charging points for electric vehicles in restaurants across the country. This project demonstrates EDP's commitment to supporting its clients' sustainability goals while expanding renewable energy generation.

 [Learn more](https://www.edp.com/en/news/edp-builds-solar-plants-supply-clean-energy-mcdonalds-restaurants-brazil)

  

 Singapore

##  SolarNova 8 Initiative

###  About the project

 EDP Renewables (EDPR), a subsidiary of EDP, was awarded in 1Q24 the largest initiative under Singapore's SolarNova Programme, SolarNova 8. This project involves the construction and operation of up to 200 MWdc (174 MWac) of distributed solar generation capacity on the rooftops of public buildings in Singapore. Once operational, the solar installations will span across 1,176 public buildings, including public housing buildings, government-owned buildings and schools. The energy generated from the solar panels on public housing buildings will be used to fully power common services in the day, such as the lifts, lights and water pumps.

###  Project size

 Total capacity: Up to 200 MWdc (174 MWac).

###  Achievements

 EDP is committed to investing €2.5 billion in distributed solar generation initiatives between 2023 and 2026, with the aim of deploying 4.1 GWp of capacity. In APAC, EDPR has a pan-regional presence with more than 1.5GWp of committed solar capacity. We aim to increase our renewables capacity to at least 5GW by 2030. This project marks a significant milestone and reinforces EDPR's position as a leader in solar energy, driving the energy transition in APAC.

###  Did you know?

 This initiative is the largest public solar leasing tender in Singapore to date and the third SolarNova project won by EDPR. The project will also explore innovative concepts such as Advanced Regeneration, aimed at reducing panel degradation to prolong panel lifespan and maximise power output.

 [Learn more](https://edp.com/en/asia-pacific/singapore/media/news/edp-renewables-secures-largest-solarnova-tender-200mwp-additional)

  

 Europe

##  Decathlon

###  About the project

 EDP has been selected by Decathlon to install up to 80 solar panels at the retailer's facilities in six European countries. This significant initiative will accelerate Decathlon's goal of producing and consuming solar energy, bringing the company closer to its commitment to use only renewable energy to power its stores worldwide by 2026.

###  Installed Capacity

 Number of solar installations: Up to 80. 
 Solar panels: Up to 42,000. 
 Installed capacity: Over 21 MWp.

###  Achievements

 Locations: France, Germany, Portugal, Spain, Belgium and Italy. 
 Completion target: End of 2026. 
  Annual energy production: Up to 21 MWh, enough to power 4,000 homes. 
  CO2 emissions avoided: Around 5,000 tonnes per year, equivalent to taking 1,200 petrol cars off the road.

###  Did you know?

 This partnership strengthens EDP's role as a key partner for major multinational companies by providing tailor-made solar solutions adapted to the size and characteristics of each Decathlon building. EDP is committed to investing €2.5 billion by 2026 to install an additional 4 GWp of solar projects for homes and businesses, contributing to the energy transition.

 [Learn more](https://www.edp.com/en/news/edp-and-decathlon-partner-install-solar-projects-across-six-european-countries)

  

 South California, USA

##  Scripps Health Systems

###  About the project

 Launched as EDPR NA Distributed Generation's first Commercial and Industrial customer, the Scripps Health Systems solar array demonstrates environmental stewardship and cost savings at multiple healthcare facilities in Southern California. This initiative positions Scripps Health Systems as a sustainability leader in the healthcare industry, while offsetting its energy consumption through net metering.

###  Installed Capacity

 The project comprises a 2.7 MW portfolio of over 8,000 solar modules across four sites. Individual system sizes range from 130 kW to 1 MW DC, with installations on rooftops, rooftop car parks and car parks.

###  Achievements

 The solar arrays generate 4,345 MWh annually, which is equivalent to reducing 3,079 metric tons of carbon dioxide emissions. This environmental impact is equivalent to the carbon sequestered by 3,773 acres of U.S. forests in one year.

###  Did you know?

 The project's annual energy production is enough to power 371 homes for a year, charge more than 374 million smartphones or offset the emissions from nearly 7.7 million passenger car miles.

 [Learn more](https://www.edprnadg.com/commercial-and-industrial)

  

 Spain

##  3 Connected Solar Parks

###  About the project

 EDP Renewables has successfully connected three hybrid solar-wind power plants to the grid in Spain: Cruz de Hierro (Ávila), Villacastín (Segovia) y Castillo de Garcimuñoz (Cuenca). These innovative projects combine wind and solar energy production at a single site, maximising clean energy output and contributing to the country's energy transition.

###  Installed Capacity

 Cruz de Hierro: 14.5 MW wind + 13.8 MWp solar = 28.3 MW total. 
 Villacastín: 14.5 MW wind + 13.75 MWp solar = 28.25 MW total.  
 Castillo de Garcimuñoz: 25.5 MW wind + 20.9 MWp solar = 46.4 MW total.

###  Annual energy production

 Cruz de Hierro: 58 GWh.  
 Villacastín: 54 GWh.  
 Castillo de Garcimuñoz: 104 GWh.

###  Did you know?

 Cruz de Hierro is Spain's first hybrid solar-wind farm, with 22 wind turbines and over 25,000 bifacial solar panels. The project represents a breakthrough in the country's clean energy sector, maximising renewable energy production in a single location.  
 Villacastín is the twin sister of Cruz de Hierro solar-wind farm, with 22 wind turbines and over 24,000 bifacial solar panels.  
 Castillo de Garcimuñoz is Castilla La Mancha´s first hybrid solar-wind Farm, with 17 wind turbines and over 44,000 bifacial solar panels.

 [Learn more](https://www.edp.com/en/news/edp-renewables-connects-spains-first-wind-solar-hybrid-project-grid)

  

 Sabugal, Portugal

##  Mina de Orgueirel Solar Plant

###  About the project

 In 2023, EDP Renewables launched its first hybrid solar-wind energy project at the Mina de Orgueirel solar plant, located next to the Mosteiro wind farm in Sabugal, Portugal. This innovative project combines solar and wind energy production on a single site, maximising clean energy output and contributing to regional decarbonisation.

###  Installed Capacity

 Solar capacity: 8.4 MW from over 17,000 bifacial solar panels. 
 Wind capacity: 11 MW from eight wind turbines. 
  Total combined capacity: 19.4 MW. 
 Annual energy production: Up to 39.5 GWh.

###  Achievements

 Homes powered: Enough energy to power more than 30,000 people annually. 
 CO2 emissions avoided: Approximately 18,000 tonnes per year, equivalent to the carbon sequestration of many thousands of trees. 
  Pioneering project: First hybrid solar-wind farm on the Iberian Peninsula.

###  Did you know?

 EDP Renewables is a leader in hybrid renewable energy projects, with over 1,600 MW of hybrid initiatives under development in Spain and Portugal. The company is also expanding the development of hybrid parks in North and South America and other European countries to improve energy efficiency and reduce environmental impact.

 [Learn more](https://www.edp.com/en/news/edpr-commissions-its-first-hybrid-solar-and-wind-energy-park-iberian-peninsula)

  

 Alqueva, Portugal

##  Alqueva Floating Solar Power Plant

###  About the project

 Inaugurated in 2022, the Alqueva Floating Solar Power Plant is Europe's largest floating platform for solar energy production on a dam reservoir. Located in Portugal, this pioneering project enhances the existing hydropower infrastructure by integrating solar energy, demonstrating innovative approaches to an existing infrastructure, such as hydroelectric dams, and think about increasing their potential.

###  Installed Capacity

 Storage: 1 MW and storage capacity around 2MWh. 
 Solar production: 7.5 GWh of annual energy that will benefit 1500 families in the region.

###  Achievements

 Environment: The project aims to minimize environmental impact by utilizing existing infrastructures and reducing reliance on traditional energy sources. 
  CO2 reduction: This project features a unique float made from cork composite and recycled plastic, resulting in a 30% lower carbon footprint than traditional plastic floats.

###  Did you know?

 1. The Alqueva Floating Solar Power Plant uses the hybridisation concept. This means combining different energy sources – in this case hydro and solar - at the same grid connection point. The advantage is clear: connection points are rare assets but are not used at capacity throughout the day, meaning that spare capacity can be used to make them more effective. 
 2. The project uses a lithium iron phosphate (LFP) battery for energy storage, ensuring grid stability despite the variable nature of renewable energy production. This innovative approach maximizes energy output and minimizes land use, allowing the surrounding area to remain available for agriculture and recreation.

 [Learn more](https://edp.com/en/media/edp-stories/alquevas-floating-solar-panels)

  

 Califórnia, USA

##  Scarlet Solar Energy Park

###  About the project

 Scarlet Solar Energy Park is situated in Fresno County, California, and is designed to complement the area’s desert landscape by harnessing the region’s abundant sunlight. The park is an important contributor to California’s renewable energy goals and supports the local economy through significant investments and job creation.

###  Installed Capacity

 Total installed capacity: 200 MW + 40 MW Storage. 
 The park consists of over 230,000 photovoltaic panels and will generate electricity equivalent to the average consumption of more than 68,000 California homes.

###  Achievements

 The Scarlet Solar Energy Park supported the creation of more than 230 construction jobs and five permanent positions dedicated to ongoing operations and routine maintenance. Additionally, Scarlet Solar Energy Park will be aiding the region’s water efficiency goals, with the project estimated to save more than 254 million gallons of water each year that would have otherwise been consumed by conventional generation sources for equivalent energy capacity.

###  Did you know?

 The Scarlet Solar Energy Park's storage capacity of 40 MW allows it to store excess solar energy during the day and release it when demand peaks, helping stabilize California’s electricity grid and ensuring a reliable energy supply even after sunset.

 [Learn more](https://www.edpr.com/north-america/scarlet-solar-energy-park)

  

 Cova da Moura, Portugal

##  Solar solidarity programme

###  About the project

 EDP's Solar Solidarity programme is bringing solar energy to vulnerable communities, starting with the installation of 300 solar panels in homes in the Cova da Moura neighbourhood near Lisbon. This initiative aims to promote access to clean and affordable energy while empowering local residents.

###  Installed Capacity

 Solar panels installed: 800 panels for 500 beneficiaries. 
 Additional equipment: Efficient fridges for each household.

###  Achievements

 Families benefited: 130 out of 150 families identified so far have received solar panels and refrigerators. 
 Local partnerships: EDP worked with four community associations to assess needs, contact residents and install the equipment. 
 Capacity building: EDP provides training to residents on the proper use and maintenance of the solar systems.

###  Did you know?

 Solar Solidarity is part of EDP's broader Y.E.S (You Empower Society) strategy, which aims to invest over €300 million by 2030 to promote a just energy transition. The programme has already supported similar solar installations in social solidarity facilities in Portugal and Spain, helping communities to consume and share solar energy while reducing energy costs for vulnerable households.

 [Learn more](https://edp.com/en/europe/portugal/media/news/edp-brings-solar-energy-cova-da-moura-neighbourhood-support-150-families)

  

 Lisbon, Portugal

##  EDP Solar Neighbourhood

###  About the project

 EDP is transforming the Lisbon International Fair (FIL) into a solar energy hub by installing over 9,000 photovoltaic panels, making it the largest solar neighbourhood in Portugal with a capacity of 5.1 MWp. This initiative will enable the buildings to become almost self-sufficient during the day and share the benefits of renewable energy with more than 5,000 neighbours.

###  Installed Capacity

 Total capacity: 5.1 MWp. 
 Panels installed: Over 9,000 photovoltaic panels. 
 Annual energy production: Approximately 6.8 GWh

###  Achievements

 CO2 emissions reduced: 1,250 tonnes per year, equivalent to the carbon dioxide sequestered by around 57,000 trees. 
 Energy Community: Created the largest energy community in Portugal, involving local residents in the energy transition. 
 Cost savings: The AIP Foundation Group will save over 60% on electricity costs, while participating neighbours will receive up to a 35% discount on their monthly bills.

###  Did you know?

 The solar panels installed at FIL will not only power the venue, but also families and businesses within a four-kilometre radius, all connected to the same grid. This project exemplifies EDP's commitment to promoting Solar Neighbourhoods, with plans to expand to over 100 MWp of solar capacity in Portugal, benefiting up to 90,000 neighbours.

 [Learn more](https://www.edp.com/en/news/aip-foundation-group-and-edp-create-portugals-largest-energy-community)

## Building a brighter future alongside industry leaders

We believe strong partnerships drive lasting change. Find out more about our Power Purchase Agreements (PPA) and how we’re working with industry leaders to offer a path to secure and competitive energy costs, fostering long-term financial stability and risk reduction and expanding our renewable energy solutions.

- ## Microsoft

    EDP Renewables and Microsoft have a 20-year deal in Singapore. Microsoft will buy 100% of the renewable energy from EDP's SolarNova 8 project, supporting both Singapore's and Microsoft’s green goals.

     [Learn more](https://edp.com/en/media/news/edp-collaborates-microsoft-largest-solar-energy-portfolio-singapore)
- ## Google

    Google selected EDP Renewables for a 15-year PPA in the Netherlands, marking Kronos Solar EDPR’s first contract there. The clean energy will power Google’s operations, boosting EDP's solar expansion in Europe.

     [Learn more](https://www.edp.com/en/news/google-chooses-edp-renewables-long-term-energy-contract-netherlands)
- ## Bloomberg

    A 10-year PPA with EDP Renewables will provide Bloomberg with clean energy from a hybrid wind-solar project in Spain, covering its entire continental Europe electricity needs and supporting its 100% renewable goal by 2025.

     [Learn more](https://www.edp.com/en/news/edp-renewables-supply-clean-electricity-bloomberg-innovative-long-term-contract)
- ## Lhyfe, SA

    Lhyfe will receive renewable energy from a 55 MWp solar project under a 15-year PPA with EDP in Germany. This partnership supports Lhyfe’s green hydrogen production and advances decarbonization in Europe.

     [Learn more](https://edp.com/en/media/news/edpr-chosen-lhyfe-supply-clean-energy-long-term-contract-germany)

## Are you ready to embrace the power of the sun and be part of the renewable energy revolution?

### Discover how EDP's solar solutions can light your way to a more sustainable future.

  [Our solar energy](https://www.edp.com/en/what-we-do/solar-energy) [Our client solutions](https://www.edp.com/en/what-we-do/client-solutions)

## When the sun sets and shines elsewhere, energy harvested during the day is [strategically stored](https://edp.com/en/media/stories/importance-storage-grids).

### Find out how we harness other renewable sources.

- ### Wind Energy

     [Learn more](https://www.edp.com/en/what-we-do/wind-energy)
- ### Hydro Energy

     [Learn more](https://www.edp.com/en/what-we-do/hydro-energy)

html {
    scroll-behavior: smooth;
}
#solar-desc,
#portfolio-desc,
#icons-desc { display:none;}
.containerSunPage {
    overflow: hidden;
}
.header-sun-wrapper {
    width: 100%;
}
.background-img {
    width: 100%;
    height: 100vh;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    background: url(https://www.edp.com/sites/default/files/image/2025-10/bg-grey.jpg) 0 0 no-repeat;
    background-size: cover;
    z-index: 0;
}
.header-sun {
    height: 100dvh;
    width: 350%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.9s ease;
    overflow: hidden;
    margin: 0 auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    zoom: 200%;
    margin: 0 auto;
    text-align: center;
    flex-flow: row;
    gap: 32px;
}
.header-sun:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: url(https://www.edp.com/sites/default/files/image/2025-10/sun-video-2.jpg) no-repeat;
    background-blend-mode: multiply;
    border-radius: 100%;
    background-size: cover;
    background-position-y: 0%;
}
.header-sun-container {
    max-width: 1200px;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: space-around;
    gap: 48px;
    flex-flow: column;
    zoom: 50%;
    position: relative;
    z-index: 2;
    top: -50px;
}
.sun-sections {
    height: 100dvh;
    position: relative;
    width: 100%;
    display: flex;
    height: 550px;
    flex-flow: column;
    justify-content: center;
}
.sun-sections:nth-child(2) {
    height: 920px;
}
.sun-sections:nth-child(3) {
    background: url("https://www.edp.com/sites/default/files/image/2025-10/narrow_bg-01.png") no-repeat 0 0;
    background-size: cover;
    height: 750px;
}
.sun-sections:nth-child(4) {
    background: url("https://www.edp.com/sites/default/files/image/2025-10/narrow_bg_02_5.jpg") no-repeat 0 0;
    background-size: cover;
    height: 750px;
}
.sun-sections:nth-child(5) {
    background: url("https://www.edp.com/sites/default/files/image/2025-10/narrow_bg_03_5.jpg") no-repeat 0 0;
    background-size: cover;
    height: 710px;
}
.sun-sections:nth-child(6) {
    background: url("https://www.edp.com/sites/default/files/image/2025-10/narrow_bg_04_5.jpg") no-repeat 0 0;
    background-size: cover;
}
.sun-sections:nth-child(7) {
    background: url("https://www.edp.com/sites/default/files/image/2025-10/narrow_bg_05_5.jpg") no-repeat 0 0;
    background-size: cover;
}
.header-sun-container .header-sun-other {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.header-sun-container .header-sun-other .header-img {
    max-width: 562px;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}
.header-sun-container .header-sun-other .video-container {
    position: relative;
    width: 562px;
    height: auto;
}
.header-sun-container .header-sun-other .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: white;
    cursor: pointer;
}
.header-sun-container .header-sun-other .video {
    width: 100%;
    height: 100%;
    max-width: 562px;
    height: 307px;
}
.header-sun-container .header-sun-other iframe#player {
    max-width: 562px;
}
.header-sun-container .header-sun-other .header-sun-title {
    font-family: Mulish;
    font-size: 80px !important;
    font-weight: 800 !important;
    line-height: 100% !important;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(180deg, #28FF52 0%, #7EFF97 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 48px;
    -webkit-text-fill-color: transparent;
    color: #28FF54;
}
.header-sun-container .header-sun-other .header-sun-subtitle {
    font-family: Mulish;
    font-size: 18px;
    font-weight: 600;
    line-height: 125%;
    color: #fff;
    max-width: 600px;
    z-index: 1;
    position: relative;
    display: block;
    margin-top: 52px;
    text-decoration: none;
}
.header-sun-container .header-sun-other .header-sun-subtitle:before {
    content: "";
    display: block;
    width: 33px;
    height: 33px;
    position: absolute;
    top: -6px;
    left: -44px;
    background: url(https://www.edp.com/sites/default/files/image/2025-10/sun-ball.png) no-repeat 0 0;
}
.header-sun-container .header-sun-other-second .header-sun-title {
    font-family: Mulish;
    font-size: 20px;
    color: #fff;
    font-weight: 400;
    line-height: 120%;
    text-align: right;
    max-width: 600px;
}
.vertical-bar {
    position: fixed;
    right: 53px;
    top: 30%;
    height: 80%;
    width: 2px;
    background: #fff;
    z-index: 9;
    transition: background 1s ease, top 0.5s ease;
}
.indicatorSunb {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #fff;
    box-sizing: border-box;
    z-index: 1;
    display: none;
}
.indicatorSunb-inner {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #fff;
}
.division {
    position: absolute;
    width: 5px;
    height: 2px;
    background: #495458;
    left: -1px;
    z-index: 1;
    transition: opacity 0.5s ease-out;
}
.division.hidden {
    opacity: 0;
}
.grow-bar {
    position: fixed;
    right: 53px;
    top: 30%;
    width: 2px;
    z-index: 10;
    transition: background 1s ease;
    box-shadow: 0px 0px 2px rgba(38, 60, 200, 0.60);
    margin-top: 8px;
}
.bar-anim {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 128px;
    background-color: transparent;
    position: absolute;
    z-index: 10;
    bottom: 86%;
    right: 32px;
}
.bar-anim-white {
    width: 2px;
    background-color: #fff;
    animation: grow 2s infinite;
    transform-origin: top;
    position: relative;
    z-index: 1;
}
.bar-anim:before {
    content: "";
    display: block;
    width: 2px;
    height: 100px;
    background-color: #fff;
    opacity: .2;
    position: absolute;
    z-index: 1;
    bottom: 0;
}
@keyframes grow {
from {
height: 0;
}
to {
height: 100px;
}
}
.header-sun-wrapper .wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100dvh;
    z-index: 5;
    background-size: cover;
}
.leafs {
    position: fixed;
    margin-top: 140px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#leaf {
    transform-origin: 50% 50%;
    animation: spin 12s infinite ease-in-out;
    position: fixed;
    top: -100%;
    left: -70%;
}
#leaf2 {
    width: 49%;
    transform-origin: center;
    animation: sway 4s infinite ease-in-out;
    filter: url(#blur2);
    transform: scaleX(-1);
    right: -55px;
    top: 40px;
    position: fixed;
    opacity: .5;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes sway {
0%, 100% {
transform: rotate(0deg);
}
50% {
transform: rotate(10deg);
}
}
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(122.59% 103.41% at 95.31% -0.65%, #FF776E 0%, #263CC8 57.82%, #042853 76.97%), linear-gradient(90deg, rgba(164, 53, 153, 0.00) 0%, rgba(164, 53, 153, 0.50) 100%), linear-gradient(90deg, rgba(255, 155, 82, 0.00) 0%, rgba(61, 26, 0, 0.80) 100%);
    background-blend-mode: multiply, normal, color-burn;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.gradient-overlay-two {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(200.59% 153.41% at 95.31% -0.65%, #222222 0%, #263CC8 57.82%, #263CC8 76.97%), linear-gradient(90deg, rgba(164, 53, 153, 0.00) 0%, rgba(164, 53, 153, 0.50) 100%), linear-gradient(90deg, rgba(255, 155, 82, 0.00) 0%, rgba(61, 26, 0, 0.80) 100%);
    background-blend-mode: multiply, normal, color-burn;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
h2 {
    position: relative;
    z-index: 1;
    margin: 0;
}
.bar-text {
    width: max-content;
    transform: rotate(90deg);
    right: -42px;
    bottom: 15%;
    position: fixed;
    font-family: Mulish;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #A9FFBA;
    z-index: 10;
}
.bar-text:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: -30px;
    background: url(https://www.edp.com/sites/default/files/icon/2025-10/sun-small.svg) no-repeat 0 0;
    width: 20px;
    height: 20px;
}
.sun {
    position: absolute;
    top: -40px;
    left: -10px;
    display: none;
}
.sun-samll {
    position: absolute;
    top: -40px;
    left: -10px;
}
.moon {
    position: absolute;
    bottom: -45px;
    left: -10px;
}

.sun-simple-drag {
    min-height: 550px;
    max-width: 90vw;
    overflow: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    overflow-y: hidden;
    display: flex;
    align-items: flex-end;
    left: 10%;
}
.sun-simple-drag.grabbing {
    cursor: grabbing;
}
.inner-content {
    display: flex;
    height: 530px;
    align-items: flex-end;
}
.drag-container {
    width: 1790px;
}
.drag-container.medium {
    width: 1320px;
}
.drag-container.small {
    width: 700px;
}
.drag-container.medium .sun-simple-drag-subtitle, .drag-container.small .sun-simple-drag-subtitle {
    margin-top: 222px;
}
.sun-simple-drag-container.box {
    flex: 0 0 20%;
    box-sizing: border-box;
    user-select: none;
}
.sun-simple-drag-title {
    font-family: Mulish;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 125% !important;
    color: #222;
    text-align: left;
    max-width: 780px;
}
.out {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}
.out .icon-container {
    position: absolute;
    width: 80px;
    height: 80px;
    right: 0;
    top: 50px;
    display: none;
}
.out .hand-icon {
    width: 190px;
    height: 50px;
    display: flex;
    align-items: flex-end;
}

.out .hand-icon .txt { padding-left: 10px; }

.out .icon-container .icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: rotateIcons 3s infinite;
}

.out .icon-container .icon:nth-child(1) {
    animation-delay: 0s;
    background: url(https://www.edp.com/sites/default/files/icon/2025-10/icon-tree.svg) no-repeat 0 0;
    width: 72px;
    height: 72px;
}
.out .icon-container .icon:nth-child(2) {
    animation-delay: 1s;
    background: url(https://www.edp.com/sites/default/files/icon/2025-10/icon-panel.svg) no-repeat 0 0;
    width: 72px;
    height: 72px;
}
.out .icon-container .icon:nth-child(3) {
    animation-delay: 2s;
    background: url(https://www.edp.com/sites/default/files/icon/2025-10/sun.svg) no-repeat 0 0;
    width: 72px;
    height: 72px;
}
@keyframes rotateIcons {
0% {
opacity: 0;
}
33% {
opacity: 1;
}
66% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.sun-simple-drag-subtitle {
    font-family: Mulish;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 120% !important;
    text-align: left;
    max-width: 780px;
}
.sun-simple-drag .sun-simple-drag-content {
    display: inline-block;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list {
    display: inline-flex;
    padding: 0;
    gap: 8px;
    margin-right: 80px;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li {
    width: 265px;
    display: inline-flex;
    height: 322px;
    align-items: flex-start;
    flex-flow: column;
    justify-content: flex-end;
    position: relative;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li p {margin-bottom:0;}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li:after {
    content: "";
    width: 265px;
    display: block;
    height: 322px;
    background: url(https://www.edp.com/sites/default/files/image/2025-10/wave.png) no-repeat 0 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}
.sun-simple-drag .sun-simple-drag-antetitle {
    font-family: Mulish;
    font-size: 18px;
    font-weight: 400;
    line-height: 125%;
    color: #222;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
}
.sun-simple-drag .sun-simple-drag-antetitle span {
    position: relative;
    padding-left: 80px;
    left: -80px;
    z-index: 1;
}
.sun-simple-drag .sun-simple-drag-antetitle:after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, #455558 0%, rgba(69, 85, 88, 0.20) 100%);
    margin-left: 10px;
    bottom: -2px;
    position: relative;
    left: -80px;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-text {
    padding: 0 16px;
    position: relative;
    width: 233px;
    height: 200px;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-text button.simple-drag-btn {
    right: 0;
    position: absolute;
    bottom: 0;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-title {
    font-family: Mulish;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    color: #53FF75;
    margin: 0 0 8px 0;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-subtitle {
    font-family: Mulish;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    color: #fff;
    margin: 0;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-text button.simple-drag-btn {
    font-family: Mulish;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    padding: 12px 24px;
    color: #222;
    background-color: #28FF52;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 16px 16px 0;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-text button.simple-drag-btn:hover {
    background-color: #7eff97;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-text button.simple-drag-btn:active {
    background-color: #7eff97;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list li .sun-simple-drag-list-text button.simple-drag-btn:focus {
    outline: none;
}

    .sun-block-text-img {
        max-width: 1160px;
        width: 90%;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-flow: column;
    }
    .sun-block-text-img .sun-block-text-img-p {
        font-family: Mulish;
        font-size: 36px;
        font-weight: 400;
        line-height: 125%;
        color: #222;
        text-align: left;
        display: block;
        max-width: 760px;
        margin-bottom: 0;
        min-height: 280px;
        position: relative;
        z-index: 1;
        margin-top: 300px;
background: none !important;
    }
    .sun-block-text-img .sun-block-text-img-p:before {
        content: "";
        display: block;
        position: absolute;
        top: -98px;
        left: 0;
        width: 100px;
        height: 100px;
        background: url(https://www.edp.com/sites/default/files/image/2025-10/sun-hand.png) 0 0 no-repeat;
    }
    .sun-block-text-img .sun-block-text-img-wrap {
        width: 100%;
        display: flex;
        position: relative;
    }
    .sun-block-text-img .sun-block-text-img-wrap header { min-height: 760px;}
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container {
        z-index: 1;
            position: absolute;
    bottom: -180px;
}

    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container-img {
        position: absolute;
        left: 56%;
        top: 20%;
        z-index: 0;
    }
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container-img.img-desktop {
                 display: block;
             }
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container-img.img-mob {
                 display: none;
             }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list-span {
        font-family: Mulish;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 125%;
        color: #455558;
        display: block;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list {
        max-width: 833px;
        width: 100%;
        display: flex;
        gap: 16px;
        padding: 0;
        margin-bottom: 48px;

    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-li {
        width: 196px;
        height: 186px;
        padding: 16px;
        display: inline-flex;
        flex-flow: column;
        justify-content: space-between;
        position: relative;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-li:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        z-index: -1;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-header {
        font-family: Mulish;
        font-size: 18px;
        font-weight: 400;
        line-height: 125%;
        color: #222;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-footer {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-footer .sun-list-footer-plus {
        font-family: Mulish;
        font-size: 32px;
        font-weight: 500;
        line-height: 135%;
        color: #6D32FF;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-footer .sun-list-footer-number {
        font-family: Mulish;
        font-size: 45px;
        font-weight: 300;
        line-height: 100%;
        color: #6D32FF;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-footer .sun-list-footer-gw {
        font-family: Mulish;
        font-size: 18px;
        font-weight: 400;
        line-height: 125%;
        color: #6D32FF;
    }
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list:-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list:-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

    .sun-block-text-icons {
        max-width: 1160px;
        width: 90%;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-flow: column;
        justify-content: center;
    }
    .sun-block-text-icons .sun-block-text-icons-h2 {
        font-family: Mulish;
        font-size: 32px;
        font-weight: 400;
        line-height: 135%;
        color: #222;
        text-align: left;
        display: block;
        max-width: 760px;
        margin-bottom: 0;
        position: relative;
        z-index: 1;

    }
    .sun-block-text-icons .sun-block-text-icons-p {
        font-family: Mulish;
        font-size: 20px;
        font-weight: 400;
        line-height: 120%;
        color: #455558;
        text-align: left;
        display: block;
        max-width: 760px;
        margin-top: 32px;
        position: relative;
        z-index: 1;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap {
        width: 100%;
        display: flex;
        margin-top: 48px;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container {
        z-index: 1;
        width: 100%;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list {
        width: 100%;
        display: flex;
        gap: 16px;
        padding: 0;
        margin-bottom: 48px;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list .sun-list-li {
        width: 265px;
        padding: 16px;
        display: inline-flex;
        flex-flow: column;
        justify-content: flex-start;
        align-items: center;
        position: relative;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list .sun-list-li .sun-list-li-title {
        font-family: Mulish;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 135%;
        color: #222;
        text-align: center;
        margin-bottom: 8px;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list .sun-list-li .sun-list-li-subtitle {
        font-family: Mulish;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%;
        color: #222;
        text-align: center;
        margin: 0;
    }
    .sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list .sun-list-li img {
        width: 108px;
    }

    .sun-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
    }
    .sun-modal-content {
        background: url(https://www.edp.com/sites/default/files/image/2025-10/bg.png) no-repeat 0 0;
        margin: 10% auto auto auto;
        padding: 40px;
        width: 80%;
        max-width: 1090px;
        position: relative;
        display: flex;
    }
    .sun-modal-wrapper {
        margin-right: 32px;
    }
    .sun-modal-content .sun-modal-container {
        height: 400px;
        max-width: 523px;
        overflow: hidden;
        overflow-y: auto;
        padding-right: 16px;
        position: relative;
        background: rgba(255, 255, 255, 0);
        scrollbar-width: thin;
        scrollbar-color: #fff #888;
    }
    .sun-modal-content:after {
        content: "";
        position: absolute;
        bottom: 116px;
        left: 37px;
        height: 50px;
        width: 526px;
        background: url(https://www.edp.com/sites/default/files/image/2025-10/transparent.png) repeat-x 0 0;
        display: block;
        opacity: .5;
    }
    .sun-modal-content .sun-modal-container .sun-modal-antetitle {
        font-family: Mulish;
        font-family: Mulish;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 125%;
        color: #fff;
        text-indent: 32px;
        display: block;
        margin-bottom: 24px;
    }
    .sun-modal-content .sun-modal-container .sun-modal-antetitle:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 50px;
        width: 50px;
        background: url(https://www.edp.com/sites/default/files/image/2025-10/country.png) no-repeat 0 0;
        display: block;
    }
    .sun-modal-content .sun-modal-container .sun-modal-title {
        font-family: Mulish;
        font-size: 40px;
        font-style: normal;
        font-weight: 400;
        line-height: 125%;
        color: #28ff52;
        margin-bottom: 40px;
    }
    .sun-modal-content .sun-modal-container .sun-modal-subtitle {
        font-family: Mulish;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 125%;
        color: #7EFF97;
        margin-bottom: 8px;
position:relative;
    }
.sun-modal-content .sun-modal-container .sun-modal-subtitle:first-of-type:after {
    content: "";
    position: absolute;
    left: 0;
    top: -33px;
    width: 26px;
    height: 26px;
    background-image: url(https://www.edp.com/sites/default/files/image/2025-10/arrow-down.png);
    background-repeat: no-repeat;
    background-size: cover;
}
    .sun-modal-content .sun-modal-container .sun-modal-text {
        font-family: Mulish;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        color: #fff;
    }
    .sun-modal-content .modal-link {
        font-family: Mulish;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%;
        padding: 12px 24px;
        color: #222;
        background-color: #28FF52;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin: 0 16px 16px 0;
        text-decoration: none;
        position: absolute;
        bottom: 32px;
    }
    .sun-modal-content .modal-link:hover {
        background-color: #7eff97;
        color: #222;
    }
    .sun-close {
        position: absolute;
        top: -80px;
        right: 10px;
        background: url(https://www.edp.com/sites/default/files/image/2025-10/close-icons.png) no-repeat 0 0;
        z-index: 10;
        width: 50px;
        height: 50px;
        display: block;
    }
    .sun-close:hover,
    .sun-close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    .sun-modal-title {
        font-family: Mulish, sans-serif;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 16px;
    }
    .sun-modal-description {
        font-family: Mulish, sans-serif;
        font-size: 16px;
        line-height: 1.5;
    }

    .sun-block-squares {
        max-width: 1160px;
        width: 90%;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-flow: column;
        justify-content: center;
    }
    .sun-block-squares .sun-block-squares-h2 {
        font-family: Mulish;
        font-size: 32px;
        font-weight: 400;
        line-height: 135%;
        color: #fff;
        text-align: left;
        display: block;
        max-width: 800px;
        margin-bottom: 24px;
        position: relative;
        z-index: 1;

    }
    .sun-block-squares .sun-block-squares-p {
        font-family: Mulish;
        font-size: 20px;
        font-weight: 400;
        line-height: 120%;
        color: #fff;
        text-align: left;
        display: block;
        max-width: 760px;
        margin-top: 32px;
        position: relative;
        z-index: 1;
        margin: 0;
    }
    .sun-block-squares .sun-block-squares-wrap {
        width: 100%;
        display: flex;
        margin-top: 48px;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container {
        z-index: 1;
        width: 100%;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list {
        width: 100%;
        display: flex;
        gap: 16px;
        padding: 0;
        margin: 0;
        margin-bottom: 48px;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li {
        width: 265px;
        height: 265px;
        padding: 16px;
        background: #fff;
        display: inline-flex;
        flex-flow: column;
        justify-content: space-between;
        position: relative;
        box-sizing: border-box;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li .sun-list-li-title {
        font-family: Mulish;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        color: #263CC8;
        text-align: left;
        margin-bottom: 8px;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li .sun-list-li-subtitle {
        font-family: Mulish;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        color: #222;
        text-align: left;
        margin: 0;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li p  {
        margin-bottom: 0;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li .sun-list-li-link {
        font-family: Mulish;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 125%;
        color: #222;
        text-decoration: none;
    }
    .sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li .sun-list-li-link:hover {
        color: #7eff97;
    }

    .sun-block-text {
    max-width: 960px;
    width: auto;
   min-height: 820px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    background:url("https://www.edp.com/sites/default/files/image/2025-10/sun2.png") no-repeat center center;
            padding: 0 32px;
        margin-top:200px;
        position: relative;
}
     .sun-block-text:before {
content: "";
    background: url("https://www.edp.com/sites/default/files/image/2025-10/flare.png") -108px -38px;
    width: 1060px;
    height: 790px;
    position: absolute;
    top: -69px;
    left: 0;
    display: block;
    /* background-size: 50%; */
    animation: sway 4s infinite ease-in-out;
    background-repeat: no-repeat;
    background-size: contain;
         z-index: 0;
}
    .sun-block-text .sun-block-text-h2 {
        font-family: Mulish;
        font-size: 32px;
        font-weight: 400;
        line-height: 135%;
        color: #fff;
        text-align: center;
        max-width: 960px;
    }
    .sun-block-text .sun-block-text-span {
        font-family: Mulish;
        font-size: 32px;
        font-weight: 400;
        line-height: 135%;
        color: #28FF52;
        text-align: center;
        display: inline-block;
    }
    .sun-block-text .sun-block-text-subtitle {
        font-family: Mulish;
        font-size: 20px;
        font-weight: 400;
        line-height: 120%;
        color: #fff;
        text-align: center;
        display: block;
        margin-bottom: 48px;
    }
    .sun-block-text .sun-block-text-btn-container {display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 0 48px 0}
    .sun-block-text .sun-block-text-btn {
        font-family: Mulish;
        font-family: Mulish;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%;
        padding: 12px 24px;
        color: #222;
        background-color: #28FF52;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-decoration: none;
        z-index: 2;
        position: relative;
    }
    .sun-block-text .sun-block-text-btn:hover {
        background-color: #7eff97;
        color: #222;
    }

    .sun-block-duo {
        display: flex;
        max-width: 1200px;
        height: 900px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 48px;
        margin: 0 auto;
        padding: 0 32px;
    }
    .sun-block-duo .sun-block-duo-h2 {
        font-family: Mulish;
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 135%;
        color: #28FF52;
        text-align: center;
        max-width: 760px;
margin-top: 48px;
margin-bottom: 0;
    }
.sun-block-duo .sun-block-duo-h3  {
        font-family: Mulish;
        font-size: 20px;
        font-weight: 400;
        line-height: 120%;
        color: #fff;
        text-align: center;
        display: block;
        margin-bottom: 0;
    }
    .sun-block-duo .sun-block-duo-link {
        font-family: Mulish;
        font-family: Mulish;
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 135%;
        color: #A9FFBA;
        display: inline-block;
        ;
    }
    .sun-block-duo .sun-block-duo-link:hover {
        color: #7eff97;
    }
    .sun-block-duo .sun-block-duo-list {
        display: flex;
        padding: 0;
    }
    .sun-block-duo .sun-block-duo-li {
        display: flex;
        padding: 16px;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        flex-flow: column;
    }
    .sun-block-duo .sun-block-duo-li .sun-block-duo-li-h3 {
        font-family: Mulish;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 135%;
        color: #fff;
    }
    .sun-block-duo .sun-block-duo-link-li {
        font-family: Mulish;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%;
        color: #28FF52;
        display: inline-block;
        width: 265px;
        text-align: center;
        text-decoration: none;
        position: relative;
    }

    .sun-block-duo .sun-block-duo-link-li:before {
content: "";
    position: absolute;
    top: -13px;
    right: 20px;
    height: 50px;
    width: 50px;
    background: url(https://www.edp.com/sites/default/files/image/2025-10/right-icon.png) no-repeat 0 14px;
    display: block;
    }
    .sun-block-duo .sun-block-duo-link-li:hover {
        color: #7eff97;
    }

    @media (max-width: 1440px) {
    .sun-simple-drag {

        }}
    @media (max-width: 1260px) {
    .sun-simple-drag {
             left: 5%;
    }
}
@media (max-width: 1024px) {
        #leaf {left: -100%; top: -120%;}
    .sun-modal-content:after {bottom: 103px; left: 0;}
    .sun-simple-drag {
     padding-left: 0;
    }
.sun-modal-wrapper {
    margin-right: 0;
    max-height: 320px;
}
.sun-modal-content {
    flex-flow: column;
    flex-direction: column-reverse;
}
.modal-wrap {
    height: 190px;
    overflow: hidden;
    display: flex;
    align-items: center;
            margin-bottom: 20px;
}
.sun-modal-content {
           width: 80%;
        max-width: 460px;
        padding: 16px;
    overflow: hidden;
}
.sun-modal-content .sun-modal-container {
    height: 240px;
    margin-bottom: 78px;
}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li {
    min-width: 265px;
    height: 225px;
}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list .sun-list-li:last-child { margin-right: 16px;}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list {
    overflow: scroll;
    padding-bottom: 40px;
-webkit-overflow-scrolling: touch;
}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list:-webkit-scrollbar {
    height: 8px; /* Ajuste a altura da barra de rolagem */
}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list:-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}
.sun-block-squares .sun-block-squares-wrap .sun-list-container .sun-list:-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
}
@media (max-width: 930px) {
.container-img-drag {
    overflow: scroll;
    width: 80%;
position: relative;
}
.sun-modal-content {
            overflow: hidden;
}
}

   @media (max-width: 821px) { .header-sun {
  height: 100vh !important;
        width: 100% !important;
        border-radius: 0 !important;
}
    .header-sun:before {
        border-radius: unset;
    }
.header-sun:before {
    background: url(https://www.edp.com/sites/default/files/image/2025-10/sun-video-2-mob.jpg) no-repeat;
    background-position: -50px 0;
    background-size: 260%;
}
    }
@media (max-width: 768px) {
.sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container,
.sun-block-squares .sun-block-squares-wrap .sun-list-container {position: relative;}
.sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container:after,
.sun-block-squares .sun-block-squares-wrap .sun-list-container:after {
content: "";
        position: absolute;
        left: 16px;
        bottom: 7px;
        width: 26px;
        height: 26px;
        background-image: url("https://www.edp.com/sites/default/files/image/2025-10/arrow-right-gif.gif");
        background-repeat: no-repeat;
        background-size: cover;
}
.sun-list .sun-list-li .sun-list-li-title {
    font-size: 16px; letter-spacing: 0.5px;}
.header-sun-container .header-sun-other .video {
    height: 207px;
}
        #leaf {
left: -80%;
        top: 0;
        max-width: 1050px;
    }
    .sun-block-text:before {
   width: 100%;
        height: 828px;
        top: 0%;
        left: 0;
        background-position-y: -19px;
}
    .sun-sections:nth-child(4) {
    height: 890px;
}

        .sun-sections:nth-child(6) {
        height: 540px;}
    .sun-sections:nth-child(7) {
        height: 810px;}
    .sun-modal-content:after {
    left: 0;bottom: 10%;}
.sun-modal-content .modal-link {
    position: relative;

bottom: 42px;
}
.vertical-bar, .grow-bar, .bar-anim {
    right: 32px;
}
    .sun-close{
    background: unset;
    width: 30px;
    height: 30px;
        top: 10px;
        right: 0px;
}
        .sun-close:after{
        content:"x";
                font-family: Mulish;
    font-size:24px;
        color: #fff;
    width: 30px;
    height: 30px;
}
.header-sun-container {
    height: 640px;
}
.header-sun-container .header-sun-other .header-sun-title {
    font-size: 60px !important;
    max-width: 375px;
    margin: 16px 0;
}
.header-sun-container .header-sun-other .video-container {
    width: 343px;
    height: 180px;
}
.header-sun-container .header-sun-other iframe#player {
    max-width: 342px;
}
.header-sun:before {
    background: url(https://www.edp.com/sites/default/files/image/2025-10/sun-video-2-mob.jpg) no-repeat;
    background-position: -70px -90px;
    background-size: 200%;
}
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
}
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container-img.img-desktop {
    display: none;
}
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container-img.img-mob {
    display: block;
    position: relative;
}
.sun-block-text-img {
    width: 100%;
}
.container-img {
    height: 300px;
    overflow: hidden;
    width: 100%;
}
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container {
    bottom: -350px;
    padding: 0 32px;
}
.sun-block-text-img .sun-block-text-img-wrap {
    width: 100%;
    display: flex;
    position: relative;
    align-items: baseline;
    flex-flow: column-reverse;
}
.sun-block-text-img .sun-block-text-img-p {
    font-size: 24px;
    line-height: 135%;
    margin: 20% 0 0 0;
    padding: 0 32px;
    min-height: unset;
}
.sun-block-text-img .sun-block-text-img-p:before {
    left: 32px;
    width: 64px;
    height: 64px;
    background-size: 64px;
}
.sun-block-text-icons .sun-block-text-icons-h2 {
    font-size: 24px !important;
    margin-top: 0;
}
.sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list .sun-list-li img {
    width: 80px;
}
.sun-block-text-icons .sun-block-text-icons-wrap .sun-list-container .sun-list {
    overflow: scroll;
}
.sun-block-text-icons {
    padding-top: 40px;
}
.sun-simple-drag-title,
.sun-simple-drag-subtitle{
    font-size: 24px  !important;
    line-height: 135%;
    padding-right: 10%;
}
.sun-simple-drag .sun-simple-drag-content .sun-simple-drag-list {
    margin-top: 0;
}
        .drag-container.medium .sun-simple-drag-subtitle,
    .drag-container.small .sun-simple-drag-subtitle {
        margin-top: 222px;
        font-size: 24px !important;
    line-height: 150% !important;
    }
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list .sun-list-li {
    height: 135px;
}
.sun-block-squares .sun-block-squares-h2 {
    font-size: 24px !important;
}
    .sun-block-text .sun-block-text-span {font-size: 24px !important;}
.sun-block-text .sun-block-text-h2 {
    font-size: 24px  !important;
}
.sun-block-text .sun-block-text-subtitle {
    text-align: left;
    position: relative;
}
.sun-block-duo .sun-block-duo-h2,
    .sun-block-duo .sun-block-duo-link,
.sun-block-duo .sun-block-duo-h3 {
    font-size: 24px  !important;
}
    .sun-block-duo .sun-block-duo-h2{
    padding: 0 16px;}
.sun-block-duo .sun-block-duo-list {
    flex-flow: column;
}
.sun-block-duo {
    padding: 0 16px;
}
.inner-content {
    padding-top: 0;
}
}
@media (max-width: 900px) {
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container .container-img-drag:after {
content: "";
        position: absolute;
        left: 0;
        bottom: 7px;
        width: 26px;
        height: 26px;
        background-image: url("https://www.edp.com/sites/default/files/image/2025-10/arrow-right-gif.gif");
        background-repeat: no-repeat;
        background-size: cover;
}}
@media (max-width: 600px) {
    .sun-modal-content:after {
    left: 0;bottom: 11%;}
}
@media (max-width: 600px) {
#leaf2 {
    width: 100%;
}
  .sun-block-text-img .sun-block-text-img-p {
        padding: 0 16px;
    }
    .sun-block-text-img .sun-block-text-img-wrap .sun-list-container {
        padding: 0 16px;
    }
.sun-block-text-img .sun-block-text-img-wrap .sun-list-container .sun-list-span {
    max-width: 355px;
}
.sun-sections:nth-child(3) {
    height: 920px;
}
.header-sun:before {
    background: url(https://www.edp.com/sites/default/files/image/2025-10/sun-video-2-mob.jpg) no-repeat;
    background-position: -5px 20px;
    background-size: 185%;
}
.container-img-drag {
    overflow: scroll;
    width: 40%;
}
.sun-block-text-img .sun-block-text-img-p, .sun-block-text-img .sun-block-text-img-wrap .sun-list-container {
padding: 0 16px;
}
.sun-block-text-img .sun-block-text-img-p:before {
    left: 16px;
}
}
@media (max-width: 424px) {
#leaf2 {opacity: 0;}
    .sun-block-duo .sun-block-duo-h2 {
        padding: 0;
    }
block-duo-link, .sun-block-duo .sun-block-duo-h3 {
        font-size: 18px !important;
    }
.sun-block-text {
    background: url(https://www.edp.com/sites/default/files/image/2025-10/sun2.png) no-repeat center -280px;}
    .sun-sections:nth-child(4) {
        height: 890px;
    }
    .sun-sections:nth-child(7) {
        height: 910px;
    }
.sun-sections:nth-child(2) {
    height: 1010px;
}
    .sun-block-text .sun-block-text-btn-container {
        flex-flow: column;
    }
    .sun-block-text:before {

        top: 9%;

    }
        #leaf {
            left: -120%;
    }
    .sun-sections:nth-child(5) {
        height: 780px;}
    .sun-block-text {
        margin-top: 150px;
        background-size: 450%;
        min-height: 820px;
            padding: 0 16px;
    }
.vertical-bar {
    transform: rotate(-90deg);
    height: 234px !important;
    left: 50%;
    bottom: 670px;
    position: absolute;
    top: -70px !important;
}
.grow-bar {
    top: unset;
    margin-left: 39px;
    bottom: 22px;
    position: absolute;
}
.indicatorSunb {
    left: 0;
    top: unset;
    transform: translateX(-50%);
}
.bar-text {
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 60px;
}
.bar-mobile {
    position: fixed;
    bottom: 20px;
    z-index: 10;
    width: 300px;
    height: 70px;
    left: 50%;
    transform: translate(-50%, 0);
    display: none;
}
.bar-anim {
    right: unset;
    left: 50%;
    bottom: -10%;
}
.bar-anim:before {
    bottom: 20%;
}
}
				@media (max-width: 768px) {
		.sun-block-text-img .sun-block-text-img-wrap header {
    min-height: unset;
			}
				p#solar-desc {
          padding: 0 16px;
}
		}

    document.addEventListener('DOMContentLoaded', function () {
        var containerSunPage = document.querySelector('.containerSunPage');
        var headerSunWrapper = containerSunPage.querySelector('.header-sun-wrapper');
        var sunContainer = document.getElementById('sunContainer');
        var indicatorSunb = containerSunPage.querySelector('.indicatorSunb');
        var innerIndicator = containerSunPage.querySelector('.indicatorSunb-inner');
        var verticalBar = containerSunPage.querySelector('.vertical-bar');
        var growBar = containerSunPage.querySelector('.grow-bar');
        var initialLoad = true;
        var overlay = containerSunPage.querySelector('.gradient-overlay');
        var overlaytwo = containerSunPage.querySelector('.gradient-overlay-two');
        var leaf = containerSunPage.querySelector('.leafs');
        var backgroundImg = containerSunPage.querySelector('.background-img');
        var barText = containerSunPage.querySelector('.bar-text');
        var sun = containerSunPage.querySelector('.sun');
        var moon = containerSunPage.querySelector('.moon');
        var barAnim = containerSunPage.querySelector('.bar-anim');
        var barMobile = containerSunPage.querySelector('.bar-mobile');
         var surWrap = containerSunPage.querySelector('.header-sun-wrapper .wrap');

        // Set the height of the vertical bar to 50% of the window height
        var verticalBarHeight = window.innerHeight * 0.5;
        verticalBar.style.height = verticalBarHeight + 'px';
        // Select all sections within the header-sun-wrapper, ignoring the first
        var sections = Array.from(headerSunWrapper.querySelectorAll('section')).slice(1);
        var totalContainers = sections.length;
        // Add divisions to the vertical bar
        for (var i = 0; i <= totalContainers; i++) {
            var division = document.createElement('div');
            division.classList.add('division');
            division.style.top = `${(i / totalContainers) * 100}%`;
            if (i === 0) {
                division.classList.add('hidden'); // Initially hide the first division
            }
            verticalBar.appendChild(division);
        }
        function updateIndicatorPosition() {
            var scrollPosition = window.scrollY;
             var isHorizontal = window.innerWidth < 425; // Check if the bar should be horizontal
if (isHorizontal) {
    growBar.style.height = '2px';
    growBar.style.width = `${(scrollPosition / (document.documentElement.scrollHeight - window.innerHeight)) * 85}%`;
    growBar.style.left = '0';
    growBar.style.right = 'unset';
} else {

    var verticalBarHeight = window.innerHeight * 0.5;
    verticalBar.style.height = verticalBarHeight + 'px';

    verticalBar.style.top = '30%';
}

            // Adjust size and shape of sunContainer
            if (scrollPosition > 250 ) {

                sunContainer.style.borderRadius = '100%';
                barText.style.display = 'none'; // Hide the bar-text
                sun.style.display = 'block';
                moon.style.display = 'block';
                 verticalBar.style.display = 'block';
              barMobile.style.display = 'block';

              sunContainer.style.width = '300px';
    sunContainer.style.height = '300px';
                surWrap.style.height = '920px';

 if (isHorizontal) {
            verticalBar.style.top = '70%';
        }
                indicatorSunb.style.display = 'block';
                barAnim.style.display = 'none';

            }
            else {
                sunContainer.style.borderRadius = '50%';
                barText.style.display = 'block'; // Show the bar-text
                sun.style.display = 'none';
                moon.style.display = 'none';
            barMobile.style.display = 'none';
                verticalBar.style.top =   '100%';
    barAnim.style.display = 'flex';

                                 sunContainer.style.width =  '140%';
    sunContainer.style.height =   '100dvh';
                surWrap.style.height =  '100dvh';
            }

   // Update indicatorSunb position and grow bar size based on orientation
            var currentIndex = 0;
            var visibilityPercentage = 0;
            var hasChangeClass = false;
            sections.forEach((container, index) => {
                var containerRect = container.getBoundingClientRect();
                var containerTop = containerRect.top;
                var containerHeight = containerRect.height;
                if (containerTop < window.innerHeight && containerTop + containerHeight > window.innerHeight / 2) {
                    visibilityPercentage = Math.min(Math.max((window.innerHeight - containerTop) / containerHeight, 0), 1);
                    currentIndex = index;
                    if (container.classList.contains('change')) {
                        hasChangeClass = true;
                    }
                }
            });
            // Change the color of the vertical bar based on the presence of the 'change' class
            var color = hasChangeClass ? '#5f7076' : 'white';
            verticalBar.style.backgroundColor = color;
            // Change the color of the grow bar based on the presence of the 'change' class
            var colorNew = hasChangeClass ? '#3e3aa3' : '#a0ff95';
            // Change the filter of the .sun and .moon elements
            if (sun && moon) {
                var filter = hasChangeClass ? 'brightness(0)' : 'brightness(2)';
                sun.style.filter = filter;
                moon.style.filter = filter;
            }
            // Only change the color if it's not the initial load
            if (!initialLoad) {
                growBar.style.backgroundColor = colorNew;
                growBar.style.boxShadow = `0 0 15px ${colorNew}`; // Adding glow effect
                innerIndicator.style.backgroundColor = colorNew;
                indicatorSunb.style.borderColor = colorNew;
            }
            // Change the color and size of special divisions
            var divisions = verticalBar.querySelectorAll('.division');
            divisions.forEach((division, index) => {
                if (index === 0 || index === totalContainers) {
                    division.style.width = '7px';
                    division.style.height = '7px';
                    division.style.left = '-3px';
                    division.style.borderRadius = '7px';
                    division.style.zIndex = '1';
                } else {
                    division.style.width = '';
                    division.style.height = '';
                }
                division.style.backgroundColor = color;
                division.style.zIndex = '0';
            });
            // Function to adjust the gradient opacity based on scroll
            function handleScroll() {
                var windowScrollTop = window.pageYOffset || document.documentElement.scrollTop;
                var windowHeight = window.innerHeight;
                var scrollPosition = window.scrollY || document.documentElement.scrollTop;
                var firstDivision = verticalBar.querySelector('.division');
                if (scrollPosition > 0) {
                    // Show the first division when scrolling begins
                    if (firstDivision) {
                        firstDivision.classList.remove('hidden');
                        barAnim.style.display = 'none';
                        indicatorSunb.style.display = `block`;
                    }
                } else {
                    // Hide the first division when at the top
                    if (firstDivision) {
                        firstDivision.classList.add('hidden');
                        barAnim.style.display = 'flex';
                        indicatorSunb.style.display = `none`;
                    }
                }
                var containerBottom = containerSunPage.getBoundingClientRect().bottom;
                if (containerBottom <= window.innerHeight * 0.9) {
                    verticalBar.style.display = 'none';
                    growBar.style.display = 'none';
                    leaf.style.display = 'none';
                } else {
                    verticalBar.style.display = 'block';
                    growBar.style.display = 'block';
                    leaf.style.display = 'block';
                }
            }
            // Register the scroll event
            window.addEventListener('scroll', handleScroll);
            // Call the function to adjust opacity initially
            handleScroll();
            // Calculate the height of the grow-bar based on the height of the vertical bar
            var position = ((currentIndex + visibilityPercentage) / totalContainers) * 100;
            var growBarHeight = position * (verticalBarHeight / 100) + 'px';
            growBar.style.height = growBarHeight;
            // Update the position of the indicatorSunb
            indicatorSunb.style.top = `calc(${position}% - 8px)`;
            // Hide the vertical bar, grow-bar, and leaves when the footer of containerSunPage is visible
            var containerBottom = containerSunPage.getBoundingClientRect().bottom;
            if (containerBottom <= window.innerHeight) {
                backgroundImg.style.display = 'none';
            } else {
                backgroundImg.style.display = 'block';
            }
        }
        // Update indicatorSunb position when the page loads
        updateIndicatorPosition();
        // Update indicatorSunb position when the page scrolls
        window.addEventListener('scroll', function () {
            initialLoad = false;
            updateIndicatorPosition();
        });

        window.addEventListener('resize', function () {
            verticalBarHeight = window.innerHeight * 0.5;
            verticalBar.style.height = verticalBarHeight + 'px';
            updateIndicatorPosition();
        });
    });

    document.addEventListener('DOMContentLoaded', function () {
        const slider = document.querySelector('.sun-simple-drag');
        let isDown = false;
        let startX;
        let scrollLeft;
        // Função para abrir a modal
        function openModal(modalId) {
            const modal = document.getElementById(modalId);
            modal.style.display = "flex";
            document.body.classList.add('modal-open');  // Desativa o scroll da página
        }
        // Função para fechar a modal
        function closeModal(modal) {
            modal.style.display = "none";
            document.body.classList.remove('modal-open');  // Reativa o scroll da página
        }
        // Mecanismo de arrasto no slider
        slider.addEventListener('mousedown', (e) => {
            isDown = true;
            slider.classList.add('grabbing');
            startX = e.pageX - slider.offsetLeft;
            scrollLeft = slider.scrollLeft;
        });
        slider.addEventListener('mouseleave', () => {
            isDown = false;
            slider.classList.remove('grabbing');
        });
        slider.addEventListener('mouseup', () => {
            isDown = false;
            slider.classList.remove('grabbing');
        });
        slider.addEventListener('mousemove', (e) => {
            if (!isDown) return;
            e.preventDefault();
            const x = e.pageX - slider.offsetLeft;
            const walk = (x - startX) * 3; // Multiplica o movimento para aumentar a sensibilidade
            slider.scrollLeft = scrollLeft - walk;
        });
        // Abertura de modais ao clicar nos botões
        const buttons = document.querySelectorAll('.simple-drag-btn');
        buttons.forEach(function (button) {
            button.addEventListener('click', function (event) {
                event.stopPropagation();
                const modalId = this.getAttribute('data-modal');
                openModal(modalId);
            });
        });
        // Fechamento de modais ao clicar no botão de fechar
        const closeButtons = document.querySelectorAll('.sun-close');
        closeButtons.forEach(function (closeButton) {
            closeButton.addEventListener('click', function (event) {
                event.stopPropagation();
                const modal = this.closest('.sun-modal');
                closeModal(modal);
            });
        });
        // Fechar a modal ao clicar fora dela
        window.addEventListener('click', function (event) {
            if (event.target.classList.contains('sun-modal')) {
                closeModal(event.target);
            }
        });
    });

document.addEventListener("DOMContentLoaded", function () {
    const videoContainer = document.getElementById("videoContainer");
    const thumbnail = document.getElementById("thumbnail");
    const playIcon = document.getElementById("playIcon");
    const playerDiv = document.getElementById("player");
    const videoIframe = document.getElementById("video");
    videoContainer.addEventListener("click", function () {
        thumbnail.style.display = "none";
        playIcon.style.display = "none";
        playerDiv.style.display = "block";

        videoIframe.src = "https://www.youtube.com/embed/OoujxTx39PY?si=UnCzVyxClczoB0Fk";
    });
});

1773067939