:root {
    --black: #1a191c;
    --black-alt:#111012;
    --black-cherry: #161318;
    --violet: #8b5cf6;
    --indigo: #3a0ca3;
    --prunus: #1b0a2c;
    --obsidian-plum: #2c1e2f;
    --obsidian-prunus : #141315;
    --color-accent : var(--violet);
    --color-accent-02: #6df1b3;
    --cyan: #66dded; /*#66dded // #64cfde*/ 
    --pink: #cc047b;
    --dark-pink: #7c004a;
    --white: #fff;
    --muted: #9f98a8;
    --light-gray: #ccc;
    --gradient-01 : linear-gradient(to right, var(--cyan), var(--violet));
    --cyan-glow: rgba(0, 255, 255, .69);
    --violet-glow: rgba(139, 92, 246, .69);
    --header-height: 155px;
}

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

*/* + *{
    margin: 0 0 1em;
}*/

html {
  font-size: 100%; /* = 16px par défaut */
  -webkit-text-size-adjust: 100%; 
  scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    font-family: 'Poppins', sans-serif;
    color: var(--muted);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 25px;
    width: 100vw;
    scroll-margin-top: 80px;
}
@media screen and (width <= 600px) {
    section {
        scroll-margin-top: 140px; 
    }
    
}

/* ==================== TEXTS ==================== */
h1 {
    font-size: clamp(1rem, 5vw, 1.8rem);
    /*background: linear-gradient(to right, var(--cyan), var(--violet));
    */
    background : var(--gradient-01);
    background-clip: text;
    color: transparent;
}
h2 {
    font-size: clamp(0.8rem, 5vw, 1.4rem);
    color: var(--cyan);
}
h3 {
    font-size:  clamp(0.6rem, 5vw, 1.2rem);
    color: var(--violet);
}
h4 {
    font-size:  clamp(0.4rem, 5vw, 1.1rem);
}

/* ==================== TOP-BAR + HEADER ==================== */
header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "logo nav";
    padding: 0px 25px;
    min-height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--black-alt);
}

.logo {
    grid-area: logo;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.logo img {
    width: 70px;
}

.navigation {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
}

.top-bar {
    display: flex;
    flex-direction: row;
    /*justify-content: center;
    align-items: center;*/
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0;
    color: var(--cyan);
    font-size: 0.8em;
    gap: 30px;
}
.top-bar a {
    text-decoration: none;
}
.fa-brands, .fa-solid {
    color: var(--violet);
    font-size: 0.9em;
    transition: color 0.5s ease;
}
.fa-brands:hover, .fa-solid:hover {
    color: var(--cyan);
}
.top-bar span {
    padding-left: 10px;
}
.top-bar img {
    width: auto;
    height: 20px;
}

nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    /*padding-bottom: 25px;*/
    gap: 20px;
}
nav a {
    text-decoration: none;
    color: var(--cyan);
    transition: color 0.5s ease;
    font-size: 0.8rem;
}
nav a:hover {
    color: var(--violet);
}
nav a .fa-solid {
    color: var(--cyan);
    font-size: 1em;
    transition: color 0.5s ease;
}
nav a .fa-solid:hover {
    color: var(--violet);
}

@media screen and ( max-width: 480px){
    header {
        align-items: flex-start;
        justify-items: center;
        min-height: 150px;
    }
    .logo {
        grid-area: logo;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 25px;
    }
    .logo img {
        width: 140px;
    }

  
    .top-bar { display: none;}
}

/* ==================== HERO ==================== */
#hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "hero-content hero-media";
    min-height: 50vh;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-content, .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding : 10px 25px;
    margin: 25px 0;
}
.hero-content {
    grid-area: hero-content;
}
.hero-content h1, .hero-content h2 {margin-bottom: 30px;}
.hero-content p, .about-content p {
    color : var(--muted);
    line-height: 1.8rem;
}
.hero-content h2 {
    background : var(--gradient-01);
    background-clip: text;
    color: transparent;
}
.hero-content p strong {
    color: var(--light-gray);
}
.cta-content {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*margin-top: 25px;*/
}
.cta-content .cta , .cta-bar .cta {
    text-decoration: none;
    background-color: var(--violet);
    color: var(--white);
    font-weight: 700;
    padding: 10px;
    border: 0px;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.5s ease, color 0.5s ease;
}
.cta-content .cta:hover, .cta-bar .cta:hover {
     background-color: var(--cyan);
     color: var(--black-alt);
}
.hero-media {
    grid-area: hero-media;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url("../images/Bckgrd-06b.png") center/cover no-repeat;
    min-height: 75vh;
}

.cta-bar {
    display: none;
}

@media screen and (max-width: 860px ){
    #hero {
        grid-template-columns: 1fr;
        grid-template-areas:
        "hero-content"
        "hero-media";
        padding: 0 0;
    }
    .hero-content, .about-content {
        text-align: center;
        padding-bottom: 20px;
    }
    #hero .cta-content {
        display: none;
    }
    .hero-media {
        align-items: center;
        height: 90vh;
        margin: 0;
        justify-content: flex-end;
    }
     .cta-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(20px); /* flou du fond */
        -webkit-backdrop-filter: blur(20px); /* compatibilité Safari */
        background: rgba(255, 255, 255, 0.1); /* voile translucide */
        border: 1px solid rgba(255, 255, 255, 0.2); /* bordure légère pour l’effet verre */
        border-radius: 50px; /* arrondi pill */
        padding: 12px 24px;
        width: 90%; /* évite de coller aux bords */
        margin: 20px auto;
        box-sizing: border-box;
        /* petit effet flottant */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
}

/* ==================== ABOUT ==================== */
#about {
    background-color: var(--black-alt);
}
.about-content {
    align-items: center;
    /*margin: 10px 0;*/
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.about-content h2, .contact-content h2 {
    text-align: center;
    margin-bottom: 20px;
}
.about-content p {
    text-align: center;
    line-height: 1.8;
}
.about-content strong {
    color: var(--cyan);
}

#about .cta-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

@media screen and (width <= 560px){
    #about .cta-content {
        flex-direction: column;
        padding: 15px 0;
        gap: 20px;
    }
    #about .cta-content h4 {
        color: var(--light-gray);
    }
}

#inter-bkgd-01 {
    background: url("../images/Bckgrd-08.png") center/cover no-repeat;
    min-height: 30vh;
}
@media screen and (max-width: 790px ){
    #inter-bkgd-01 {
        background: url("../images/Bckgrd-11.jpg") center/cover no-repeat;
        min-height: 55vh;
    }
    .hero-content h1, .about-content h2 {
        font-size: clamp(0.8rem, 5vw, 1.6rem);
    }
}

/* ==================== CONTACT ==================== */
#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, var(--black) 20%, var(--black-cherry) 80%);
}

#contact h2 {
    margin: 25px 0;
}
.contact-content {
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "contact-info contact-form";
    padding: 15px 20px;
    align-items: flex-start;
    justify-items: center;
    gap: 30px;
    max-width: 1000px;
    margin-top: 25px;
}
.contact-info {
    grid-area: contact-info;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.contact-info img {
    width: 250px;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.coordonnees {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}
.coordonnees:hover {
    transform: translateY(-5px);
    cursor: crosshair;
}
.coordonnees h3 {
    margin-bottom: 15px;
}
.coordonnees .strong {
    color: var(--cyan)
}

.contact-form {
    grid-area: contact-form;
    display: flex;
    flex-direction: column;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(103, 232, 249, 0.2);
}
.contact-form label {
    text-align: left;
    padding: 5px 15px;
    font-weight: 700;
    color: var(--violet);
    /*background-color: var(--black-alt);*/
}
.contact-form input, .contact-form textarea {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--muted);
    border-radius: 5px;
    padding: 15px 15px;
    margin-bottom: 15px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    outline: none;
}

.contact-form button {
    background: var(--violet);
    padding: 5px;
    border-radius: 10px;
    font-weight: bold;
    color: var(--white);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.4s ease, transform 0.2s ease, box-shadow 0.4s ease;
}

.contact-form button:hover {
    background: var(--cyan);
    color: var(--black-alt);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--cyan), 0 0 30px var(--violet);
}

.rgpd-note {
    font-style: italic ;
    font-size: 0.7em;
    margin-top: 15px;
}

@media screen and (max-width: 790px) {
    .contact-container {
        grid-template-columns: 1fr;
        grid-template-areas:
        "contact-info"
        "contact-form";
        gap: 25px;
    }
    .contact-info {
        flex-direction: row;
        align-items: center;
    }
    .contact-info h3 {
                padding-top: 25px;
    }
}
@media screen and (max-width: 690px)  {
    .contact-info {
        flex-direction: column;
    }
    .contact-info img {
        display: none;
    }
}



/* ==================== FOOTER + SUBFOOTER ==================== */
#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background-color: var(--black-alt);
    width:100%;
    min-height: 20vh;
}
#footer h3 {
    font-size: clamp(0.6rem, 3vw, 1.2rem);
    background: linear-gradient(145deg, var(--cyan), var(--violet));
    background-clip: text;
    color: transparent;
    /*margin-bottom: 15px;*/
}
#footer a{
    text-decoration: none;
    color: var(--cyan);
    transition: color 0.5s ease;
    font-size: 0.8rem;
}
#footer a:hover{
    color: var(--violet);
}
#footer h4 {
    color: var(--violet);
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-areas: "footer-about footer-links footer-socials";
    gap: 30px;
    align-items: flex-start;
    justify-items: center;
}
.footer-about {
    grid-area: footer-about;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 25px;
}

.footer-about .logo-footer img {
    width:120px;
}
.footer-about p {
    font-size: 0.8rem;
}
.footer-links {
    grid-area: footer-links;
}
.footer-socials {
    grid-area: footer-socials;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*.social-nav-footer {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    padding-top: 5px;
}*/

@media screen and (width < 790px) {
    .footer-container {
        grid-template-columns: 1fr;
        grid-template-areas:
        "footer-about"
        "footer-links"
        "footer-socials";
    }
    .footer-about{
        text-align: center;
        gap: none;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
     .footer-about, .footer-links{
        border-bottom: 1px solid #67e8f9;
        width:  50vw;
    }
    .footer-about p, .footer-links ul{
        margin-bottom: 25px;
    }
    .footer-about h3 {
        margin-bottom: 10px;
    }
}

#subfooter {
    display: flex;
    background: linear-gradient(to right, var(--cyan), var(--violet));
    height: 30px;
    font-size: clamp(0.6rem, 2vw, 0.8rem);
}
.subfooter-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-size: 0.6rem;
    color: var(--black);
    font-weight: 700;
}
.subfooter-container a {
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
}
.subfooter-container a:hover {
    color: var(--dark-pink);
}
@media screen and (width < 790px) {
    #subfooter {
        height: auto;
        padding: 10px;
    }
    .subfooter-container {
        flex-direction: column;
    }
}

/* === CONF POLICIES === */

#hero-legales {
     background: url("../images/cyber-security-concept-02.png") center/cover no-repeat;
    min-height: 40vh;
}

#legales {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    width: 100vw;
    padding: 25px 50px;
    gap: 40px;
}

.ml, .conf-policies, .cgu {
    max-width: 1200px;
}
.ml h2, .conf-policies h2, .cgu h2 {
    margin-bottom: 20px;
}
/*.ml strong, .conf-policies strong {
    color: var(--violet);
}*/

.conf-policies h4, .cgu h4 {
    color: var(--violet);
    font-size: 0.8rem;
    padding-bottom: 5px;
}

.conf-policies h4:not(:first-of-type), .cgu h4:not(:first-of-type) {
    padding-top: 20px;
}

.conf-policies ul, .cgu ul {
    padding-left: 50px;
}