/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #c175ff;
    --text-color: #333;
    --white-text: #faf8f9;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --container-width: 1200px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.texte-violet {
    color: var(--accent-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 2px dashed #c175ff;
    margin-bottom: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 2rem;
    
}

.logo img {
    height: 100px;
    width: auto;
}

.nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-btn {
    text-decoration: none;
    color: #faf8f9;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-btn:hover {
    color: var(--accent-color);
}

.nav-btn.cta {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.nav-btn.cta:hover, .hero-cta:hover {
    background: #8035e8;
    transform: translateY(-2px);
}



/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0px; /* Hauteur du header + un peu d'espace */
    background-color: #000;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay semi-transparent */
    z-index: 2;
}

.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    object-position: center;
    top: 0;
    left: 0;
}

.hero .container {
    position: relative;
    z-index: 3; /* Au-dessus de l'overlay */
    width: 100%;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}



.video-placeholder {
    margin-top: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.video-placeholder img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #faf8f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 4rem;
    font-weight: 700;
    color: #020238;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 70px;
    font-weight: 700;
    color: #020238;
}

.icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.icon-wrapper-1, .icon-wrapper-2, .icon-wrapper-3 {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 10px solid var(--accent-color);
    border-radius: 50px;
    overflow: hidden;
}

.icon-wrapper-1 img, .icon-wrapper-2 img, .icon-wrapper-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 5px 0;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1E293B;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: #64748B;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.service-card p {
    font-size: 1.1rem;
    color: #64748B;
    font-weight: 500;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    margin-top: 1rem;
    padding-bottom: 0;
}

.description-service {
    font-size: 1.1rem;
    color: #64748B;
    font-weight: 500;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.description-service-list {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    margin-top: 1rem;
    margin-bottom: 0;

}




@media (max-width: 992px) {
    .services-grid {
        gap: 1.5rem;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: #020238;
    border-bottom: 2px dashed #fff;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 4rem;
    font-weight: 700;
    color: #faf8f9;
}

.benefits-circle-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    background-color: #b878e5;
    border-radius: 50%;
    z-index: 2;
    border: 20px solid white;
}

.benefit-item {
    position: absolute;
    width: 250px;
    height: 150px;
    background-color: #0a0d38;
    border: 10px solid white;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.top-left {
    top: 15%;
    left: 10%;
}

.top-right {
    top: 15%;
    right: 10%;
}

.bottom-left {
    bottom: 15%;
    left: 10%;
}

.bottom-right {
    bottom: 15%;
    right: 10%;
}

.check-icon {
    color: #b878e5;
    font-size: 24px;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .benefits h2 {
        text-align: center;
        font-weight: 700;
        font-size: 3rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .benefits h2 {
        text-align: center;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }
    
    .benefits-circle-container {
        position: relative;
        width: 100%;
        height: 500px; /* Ajusté pour mieux s'adapter */
        transform: scale(0.9);
        margin: 0 auto;
    }
    
    .center-circle {
        width: 200px;
        height: 200px;
        border: 15px solid white;
    }
    
    /* Réinitialiser les positions pour correspondre au desktop */
    .benefit-item {
        position: absolute;
        width: 200px;
        height: 120px;
        font-size: 0.9rem;
        
    }
    
    .top-left {
        top: 15%;
        left: 10%;
    }
    
    .top-right {
        top: 15%;
        right: 10%;
    }
    
    .bottom-left {
        bottom: 15%;
        left: 10%;
    }
    
    .bottom-right {
        bottom: 15%;
        right: 10%;
    }
}

@media (max-width: 576px) {
    .benefits-circle-container {
        transform: scale(0.7);
        height: 420px;
    }
    
    .center-circle {
        width: 180px;
        height: 180px;
    }
    
    .benefit-item {
        width: 180px;
        height: 110px;
        padding: 10px;
        font-size: 0.8rem;
    }
    
    /* Ajuster légèrement les positions pour les très petits écrans */
    .top-left {
        top: 10%;
        left: 5%;
    }
    
    .top-right {
        top: 10%;
        right: 5%;
    }
    
    .bottom-left {
        bottom: 10%;
        left: 5%;
    }
    
    .bottom-right {
        bottom: 10%;
        right: 5%;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #020238;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.about-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.about-main {
    margin-bottom: 2rem;
}

.about-main p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #faf8f9;
}


@media (max-width: 992px) {
    .about-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }
}

/* Appointment Section */
.appointment {
    padding: 5rem 0;
    background-color: #000;
    color: var(--white);
}

.appointment h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: #1E293B;
    color: var(--white);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 10.5l-4-4h8l-4 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background-color: #8035e8;
    transform: translateY(-2px);
}

.alternative-text {
    text-align: center;
    margin: 3rem 0;
    color: var(--white);
    font-size: 1.1rem;
}

.calendar-embed {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.calendar-embed iframe {
    display: block;
    width: 100%;
    height: 600px;
    background: var(--white);
}

@media (max-width: 768px) {
    .appointment h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .appointment-form {
        padding: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .submit-btn {
        padding: 0.8rem;
    }
}

/* Footer */
.footer {
    background-color: #1E293B;
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #94A3B8;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col p {
    color: #94A3B8;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #94A3B8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

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

    .footer-col {
        text-align: center;
    }

    .footer-col h3 {
        margin-bottom: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        background-color: #000;
    }

    .nav {
        flex-direction: column;
        align-items: center;
    }

    .benefits-circle-container {
        height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services h2 {
        font-size: 2rem;
    }
}

/* Ajout des styles responsives pour les services */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0.5rem;
    }

    .service-card {
        padding: 1.5rem;
        min-width: auto;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 350px;
    }

    .service-card {
        max-width: 100%;
    }
}

.hero-cta {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 2rem;
}

.hero-cta:hover {
    background: #8035e8;
    transform: translateY(-2px);
}

/* Ajout du style responsive pour le bouton */
@media (max-width: 768px) {
    .hero-cta {
        padding: 0.8rem 2rem;
    }
}

.hero::after {
    display: none;
}

/* Menu Burger */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.burger-bar {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

/* Animation du burger menu quand il est actif */
.burger-menu.active .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Header */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        display: none;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0rem 1rem;
        margin-bottom: 0;
        background-color: #000;
    }

    .logo img {
        height: 40px;
        width: 20%;
        height: 20%;
    }

    .nav.mobile-active {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-btn {
        width: 100%;
        padding: 0.8rem;
    }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        background-color: #000;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .video-background img {
        object-position: center;
        object-fit: cover;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 30;
        left: 0;
    }
}

/* Services Section Responsive */
.services-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.services-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 2;
}

.slider-arrow.left {
    left: 0;
}

.slider-arrow.right {
    right: 0;
}

@media (min-width: 769px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
    }

    .slider-arrow {
        display: none;
    }
}

/*
Theme Name: Flair Digital
Theme URI: https://flairdigital.fr
Author: Flair Digital
Author URI: https://flairdigital.fr
Description: Thème WordPress pour Flair Digital - Services d'automatisation IA
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flair-digital
*/

/* Responsive pour les très petits écrans (ex: 414px) */
@media (max-width: 430px) {
    .container {
        padding: 0 8px;
    }

    .header .container {
        padding: 0 8px;
    }

    .logo img {
        width: 30%;
        height: 30%;
    }

    .hero-content {
        padding: 1.2rem 0.5rem;
    }

    .hero h1 {
        font-size: 1.3rem;
        padding: 0 0.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-top: 1.2rem;
        margin-bottom: 1.2rem;
        padding: 0 0.2rem;
    }

    .hero-cta {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }

    .services h2,
    .benefits h2,
    .about-content h2,
    .appointment h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .services-grid {
        max-width: 100vw;
        gap: 1rem;
        padding: 0;
    }

    .service-card {
        flex: 0 0 90vw;
        padding: 1rem 0.5rem;
        border-radius: 30px;
        min-width: 0;
        max-width: 70vw;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card h4,
    .service-card p,
    .description-service-list {
        font-size: 0.9rem;
    }

    .icons .icon-wrapper-1,
    .icons .icon-wrapper-2,
    .icons .icon-wrapper-3 {
        width: 50px;
        height: 50px;
        border-width: 5px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image img {
        width: 50%;
    }

    .about-content h2 {
        font-size: 1rem;
    }

    .about-main p {
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-grid {
        gap: 1rem;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-description,
    .footer-col p,
    .footer-col a {
        font-size: 0.9rem;
    }

    .calendar-embed iframe {
        height: 500px;
    }

    .benefits-circle-container {
        width: 100vw;
        max-width: 100vw;
        height: 140px;
        min-height: 0;
        position: relative;
        margin: 0 auto;
    }

    .center-circle {
        width: 110px;
        height: 110px;
        border-width: 6px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .benefit-item {
        width: 200px;
        height: 110px;
        border-width: 4px;
        border-radius: 10px;
        padding: 4px 6px;
        font-size: 0.95rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #0a0d38;
    }

    .check-icon {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .top-left {
        top: -25%;
        left: -8%;
    }
    .top-right {
        top: -25%;
        right: -8%;
    }
    .bottom-left {
        bottom: -45%;
        left: -8%;
    }
    .bottom-right {
        bottom: -45%;
        right: -8%;
    }
}

/* Pour les très petits écrans, si ça déborde encore, on stack verticalement */
@media (max-width: 370px) {
    .benefits-circle-container {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        position: static;
    }
    .center-circle,
    .benefit-item {
        position: static;
        margin: 0 auto;
    }
    .center-circle {
        margin: 0.5rem 0;
    }
} 