/*
Theme Name: TOPO
Theme URI: https://topo360.fr
Author: TOPO360
Author URI: https://topo360.fr
Description: Thème WordPress pour TOPO - Coaching Business sur-mesure pour Indépendants.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: topo
*/

@font-face {
    font-family: 'GochiHand';
    src: url('assets/fonts/GochiHand-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

/* Accessibilité - Éléments cachés visuellement mais accessibles aux lecteurs d'écran */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --yellow: #FFCF11;
    --yellow-bright: #FFEB3B;
    --purple: #563387;
    --purple-light: #75599C;
    --black: #000000;
    --white: #FFFFFF;
    --yellow-light: #FFF9C4;
    --yellow-bg: #FFCF11;
    --brown: #8B4513;
}

body {
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
}

.semibold {
    font-weight: 600;
  }

.container {
max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
}

/* Top Container */
.top-container {
  position: relative;
  overflow: hidden;
}

/* Header */
.header {
  background: transparent;
  padding: 12px 0 10px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.top-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -7%;
  right: 0;
  bottom: 0;
  background-image: url('assets/img/points-left.svg');
  background-repeat: no-repeat;
  z-index: 1;
  width: 42%;
  background-size: 100%;
}



@media (min-width: 768px) {
  .top-container::before {
    width:23%;
    left: 0;
  }
}

.top-container::after {
  content: '';
  position: absolute;
  top: 0;
 
  /* width: 540px; */
  right: -27%;
  width:60%;
  min-height: 264px;
  background-image: url('assets/img/points-right.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 100%;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .top-container::after {
    right: 0;
    width: 31%;
  }
}

.logo {
  display: inline-block;
  text-decoration: none;
}

.logo svg {
  height:59px;
  color: var(--yellow);
}

@media (min-width: 1024px) {
  .logo svg {
    height: 90px;
  }
}

/* Hero Section */
.hero {
    background: var(--yellow);
    padding: 30px 0;
    text-align: center;
}

.tagline {
    background: var(--purple);
    font-family: 'GochiHand';
    font-size: 18px;
    color: var(--yellow);
    display: inline-block;
    padding: 1px 6px;
    transform: rotate(-1deg);
}

@media (min-width: 1024px) {
    .tagline {
        font-size: 20px;
    }
}

.hero h1 {
    font-size: 16px;
    font-weight: 700;
    margin: 14px 0 20px 0;
    color: var(--black);
}

.question {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--purple)
}


.solution {
    font-size: 13px;
}

.solution .highlight::before {
    width: 96%;
    left: -2px;
}
@media (min-width: 1024px) {
    .solution-container {
        font-size: 14px;
    }
}

.solution:first-child {
    margin-bottom: 4px;
}

.solution .highlight {
    position: relative;
    z-index: 1;
    top: -1px;
    /* background: var(--purple); */
    font-family: 'GochiHand';
    font-size: 16px;
    color: var(--yellow);
    display: inline-block;
    /* padding: 1px 6px;
    transform: rotate(-1deg); */
}

.highlight::before {
    content: '';
    position: absolute;
    background: var(--purple);
    padding: 4px 6px;
    transform: rotate(-1deg);
    width: 96%;
    height: 16px;
    z-index: -1;
    top: -2px;
    left: -5px;
}

.hero-illustration img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.cta-section {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--black);
    line-height: 1.5;
}

.btn {
    padding:8px 10px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    display: inline-block;
}

@media (min-width: 1024px) {
    .btn {
        font-size: 14px;
    }
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-cta-yellow {
    background: var(--yellow);
    color: var(--black);
}

/* How it Works Section */
.how-it-works {
    background: var(--white);
    position: relative;
}

.how-it-works .illustration-left {
    position: absolute;
    z-index: 50;
    width:280px;
    left: -90px;
    top: -106px;
}

@media (min-width: 1024px) {
    .how-it-works .illustration-left {
        left: 0;
        width:386px;
        top: -150px;
    }
}

.how-it-works .section-text{
   width: 238px;
   font-size: 13px;
   font-weight: 600;
   text-align: center;
   margin: 50px 0 0 auto;
}

@media (min-width: 1024px) {
    .how-it-works .section-text{
        font-size: 14px;
        margin: 28px auto 0;
    }
}

.how-it-works .section-text-topo-easy {
    width: 238px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 30px auto 0 0;
    text-align: left;
}

@media (min-width: 1024px) {
    .how-it-works .section-text-topo-easy{
        font-size: 14px;
        margin: 40px auto 0;
        text-align: center;
    }
}

.how-it-works .section-text-topo-easy p:first-child {
    position: relative;
    z-index: 1;
    font-family: 'GochiHand';
    font-size: 15px;
    color: var(--yellow);
    display: inline-block;
}


.how-it-works .section-text-topo-easy p:first-child::before {
    content: '';
    position: absolute;
    background: var(--purple);
    padding: 4px 6px;
    transform: rotate(-1deg);
    width: 96%;
    height: 16px;
    z-index: -1;
    top: -2px;
    left: -2px;
}


.how-it-works .section-text .btn{
   margin-top: 10px;
 }
 

@media (min-width: 1440px) {
    .how-it-works .illustration-left {
        left: 0px;
    }
}


.how-it-works .illustration-points {
    position: absolute;
    top: -63px;
    z-index: 50;
    width: 380px;
    left: -136px;
}

@media (min-width: 1024px) {
    .how-it-works .illustration-points {
        width: 54%;
        left: 1%;
        top: -81px;
    }
}

@media (min-width: 1440px) {
    .how-it-works .illustration-points{
        width: 38.3%;
        left: 11%;
    }
}

@media (min-width: 1980px) {
    .how-it-works .illustration-points{
        width: 32%;
        left: 16%;
        top: -16.9%;
    }
}

.section-content {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-text {
    flex: 1;
}

.section-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.3;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.section-illustration {
    flex: 0 0 250px;
}

.section-illustration img {
    width: 100%;
    height: auto;
}

/* Packages Section */
.packages {
    background: var(--white);
    padding: 20px 0;
    position: relative;
}

.package-features {
    margin-top: 6px;
    width: 60%;
}
.package-features p:first-child {
    margin-bottom: 10px;
    background: var(--purple);
    color: var(--yellow);
    padding: 6px;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Montserrat';
}
.package-features p:first-child span {
    display: block;
}
.package-features p {
    font-family: 'GochiHand';
    text-align: justify;
    font-size: 15px
}

.package-features .pkg-line {
    display: block;
}

@media (min-width: 1024px) {
    .package-features.no-break {
        width: 100%;
    }
}
@media (min-width: 375px) {
    .package-features {
        width: 68%;
    }
}


@media (min-width: 768px) {
    .package-features {
        width: 80%;
    }
}
@media (min-width: 1024px) {
    .package-features {
        width: 100%;
    }
}
.package-features p {
    line-height: normal;
}

@media (min-width: 1024px) {
    .packages {
        padding: 80px 0;
    }
}


.packages-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 58px 110px;
        width: 720px;
        margin: 0 auto;
    }
}

.packages .container {
    padding: 0;
}
.package-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.package-card h3 {
    padding: 2px 10px 2px 28px;
    background-color: var(--yellow);
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    line-height: 1;
}

.package-card h3 span {
    font-family: 'GochiHand';
    font-size: 20px;
    line-height: 1;
    color: var(--purple);
    margin-left: 5px;
    margin-top: 1px;
}

.package-price {
    font-size: 10px;
    background-color: rgba(255, 207, 17, 0.5);
    padding: 1px 10px 1px 28px;
}

.package-price span {
    font-weight: bold;
}

@media (min-width: 1024px) {
    .packages .container {
        padding: 0 20px;
    }
}

.package-body {
    margin-left: 28px;
    font-size: 13px;
}
.package-body ul {
    list-style: none;
    line-height: 16px;
}
.package-card .btn {
    margin-top: 10px;
}

.btn-package {
    color: var(--yellow);
    background: var(--black);
}


.packages-illustration-left {
    position: absolute;
    right: 0;
    top: 326px;
    z-index: 1;
    width:117px;
}


@media (min-width: 1024px) {
    .packages-illustration-left {
        left: 68px;
        right: auto;
        top: 60px;
        width:auto;
    }
}

.packages-illustration-right {
    position: absolute;
    right: 0;
    top: -114px;
    z-index: 1;
    width:168px;

}


@media (min-width: 1024px) {
    .packages-illustration-right {
        right: 68px;
        top: -200px;
        width:auto;
    }
}


.resume {
    background: var(--yellow);
    padding: 24px 0;
    text-align: center;
}

.resume button {
    background: transparent;
    border: none;
    cursor: pointer;
    
}

.resume button.highlight {
    font-size: 23px;
    display: block;
    margin: 15px auto 0 auto;
}

.resume button.highlight::before {
    padding: 9px 6px;
    top: -4px;
}

.resume-content .highlight::before {
    left: -2px;
}

.resume-content .highlight {
    display: inline-block;
}

.toppings {
    background: var(--white);
    padding: 24px 0;
    text-align: center;
}

.toppings ul {
    list-style: none;
    line-height: 16px;
}

@media (min-width: 1024px) {
    .toppings ul {
        width: 616px;
        margin: 0 auto;
    }
}

.toppings ul li {
    text-align: left;
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.3;
    position: relative;
    font-family: 'GochiHand';
}

.toppings ul li span {
    font-family: 'Montserrat';
    font-size: 13px;
    display: block;
    font-weight: 700;
    background: var(--purple);
    color: var(--yellow);
    text-align: center;
    padding: 6px;
}

.toppings-content {
    font-style: italic;
    position: relative;
}

.toppings-content h3 .highlight {
    position: relative;
    z-index: 1;
    color: var(--yellow);
    margin: 0 5px;
}
.toppings-content h3 .highlight::before {
    top: 0px;
    left: -5px;
    width: 98%;
}

.toppings-text {
    font-size: 14px;
    color: var(--black);
    line-height: 1.3;
    text-align: left;
}

@media (min-width: 1024px) {
    .toppings-text {
        width: 616px;
        margin: 0 auto;
    }
}

.benefits {
    position: relative;
    padding: 30px 0;
    text-align: center;
}
@media (min-width: 1024px) {
    .benefits {
        padding-top: 80px;
    }
}

.resume h2, 
.benefits h2{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.3;
}

.resume p,
.benefits p {
    font-size: 13px;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.3;
    position: relative;
}

.resume .highlight,
.benefits .highlight {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--yellow);
    line-height: 1.3;
    position: relative;
    padding: 0px 6px;
    font-family: 'GochiHand';
}

.benefits .highlight {
    display: table;
    width: auto;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .benefits .highlight {
        display: inline-block;
        padding: 0px 3px;
        margin-right: 5px;
    }
}

.main-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.resume-text {
    text-align: left;
    width: 58%
}

.benefits-text {
    width: 60%;
    text-align: left;
}
.resume-text-highlight {
    width: 245px;
}
@media (min-width: 1024px) {
    .resume-text-highlight {
        width: 100%;
    }
}
@media (min-width: 1024px) {
    .resume-text {
        width: 616px;
        text-align: center;
        margin: 0 auto;
    }
}
@media (min-width: 1024px) {
    .benefits-text {
        text-align: center;
        width: 100%;
    }
}

.benefits-points-right {
    position: absolute;
    right: -35px;
    top: -480px;
    z-index: 1;
    width: 171px;
    height: 757px;
}

@media (min-width: 1024px) {
    .benefits-points-right {
        width: 255px;
        top: -740px;
        right: 0;
        height: 1096px;
    }
}

.benefits-user-right {
    position: absolute;
    right: -90px;
    top: -396px;
    z-index: 1;
    width: 219px;
    height: 284px;
}

@media (min-width: 375px) {
    .benefits-user-right {
        right: -86px;
        top: -380px;
    }
}
@media (min-width: 1024px) {
    .benefits-user-right {
        width: 295px;
        height: 384px;
        top: -370px;
    }
}

.benefits-illustration-left {
    position: absolute;
    left: 7px;
    top: 240px;
    z-index: 1;
    width: 218px;
    height: 269px;
}

@media (min-width: 1024px) {
    .benefits-illustration-left {
        width: 258px;
        height: 317px;
        left: 110px;
        top: -70px;
    }
}

@media (min-width: 1280px) {
    .benefits-illustration-left {
        left: 210px;
    }
}


.benefits-illustration-right {
    position: absolute;

    z-index: 1;
    width: 176px;
    height: 286px;
    top: -10px;
    right: 4px;
}

@media (min-width: 1024px) {
    .benefits-illustration-right {
        width: 239px;
        height: 389px;
        right: 120px;
        top: 30px;
    }
}
@media (min-width: 1280px) {
    .benefits-illustration-right {
        right: 200px;
    }
}
/* Final CTA Section */
.final-cta {
    background: var(--white);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 1024px) {
    .final-cta {
        padding: 20px 0 0 0;
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 13px;
    width: 200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .cta-content {
        width: 290px;
    }
}

.cta-main-text {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--black);
    position: relative;
}


.cta-main-text .highlight {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--yellow);
    line-height: 1.3;
    position: relative;
    padding: 0px 6px;
    font-family: 'GochiHand';
}

.cta-main-text .highlight::before {
    width: 93%;
    left: -2px;
}

.cta-sub-text {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

@media (min-width: 1024px) {
    .cta-sub-text {
        margin-bottom: 30px;
    }
}

.cta-illustration {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.cta-illustration .cta-illustration-together {
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .cta-illustration .cta-illustration-together {
        max-width: 625px;
        height: auto;
    }
}

.cta-points-end {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    left: -25%;
    z-index: 0;
    width: 150%;
}

@media (min-width: 1024px) {
    .cta-points-end {
        width: auto;
        left: calc(50% - 720px);
    }
}

/* Footer */
.footer {
    background: var(--yellow-bg);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-services p {
    font-size: 0.9rem;
    color: #333;
}

.footer-logo svg {
    height: 50px;
    color: var(--purple-light);
    width: auto;
    margin: 0 auto;
}
.footer-copyright {
    font-size: 13px;
}
