/* ==========================================================================
   1. RESET ET BASES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #333;
    background-image: url('image/bg3.webp');
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    color: white;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

/* ==========================================================================
   2. TYPOGRAPHIES & ANIMATIONS
   ========================================================================== */
.orbitron-uniquifier { font-family: "Orbitron", sans-serif; font-weight: 400; }
.bruno-ace-sc-regular {font-family: "Bruno Ace SC", sans-serif;font-weight: 400}
@keyframes animDivTextReverse {
    0% { transform: rotateX(90deg); opacity: 0; }
    100% { transform: rotateX(0deg); opacity: 1; }
}

/* ==========================================================================
   3. INDEX - HERO SECTION
   ========================================================================== */
.divTitreIndex {
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.divTitreIndex h1 {
    font-family: "Bruno Ace SC", sans-serif;
    color: greenyellow;
    font-size: clamp(2rem, 8vw, 4.5rem);
    letter-spacing: 20px;
    text-shadow: rgb(57, 57, 57) 5px 10px 10px;
    animation: 3s ease-in animDivTextReverse;
}

/* Le métier avec le style CTA */
.divTitreIndex .corpH1 {
    display: inline-block;
    font-family: "Orbitron", sans-serif;
    text-transform: uppercase;
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
    letter-spacing: 3px;
    padding: 12px 25px;
    color: greenyellow;
    border: 1px solid greenyellow;
    background: rgba(173, 255, 47, 0.05);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.2);
    transition: all 0.4s ease;
    width: fit-content;
}

.divTitreIndex .corpH1:hover {
    background-color: greenyellow;
    color: #333;
    box-shadow: 0 0 25px rgba(173, 255, 47, 0.6);
    transform: scale(1.05);
}

.tagline {
    font-family: "Orbitron", sans-serif;
    color: white;
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-style: italic;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.5;
    text-shadow: 2px 2px 5px black;
}

/* ==========================================================================
   4. PAGE CONTACT
   ========================================================================== */
.divContact {
    display: flex;
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

.textContact {
    display: flex;
    flex-direction: column;
    background-color: rgba(51, 51, 51, 0.9);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(173, 255, 47, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: 0.3s ease;
}

.textContact:hover {
    transform: scale(1.02);
}

/* En-tête de la carte contact */
.textContact .corpH1 {
    color: #333;
    font-family: "Megrim", system-ui;
    background-color: greenyellow;
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.contact-info-group {
    padding: 25px 20px;
    text-align: center;
}

.name-label {
    font-family: "Orbitron", sans-serif;
    font-size: 1.2rem;
    color: greenyellow;
    margin-bottom: 15px !important;
}

.contact-info-group p {
    font-family: "Orbitron", sans-serif;
    padding: 8px 0 !important;
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Zone des boutons CTA */
.contact-actions-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
}

.cta-contact {
    display: inline-block;
    font-family: "Orbitron", sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 12px 25px !important;
    border: 1px solid greenyellow;
    color: greenyellow !important;
    border-radius: 5px;
    background: rgba(173, 255, 47, 0.05);
    width: 90%;
    max-width: 280px;
    text-align: center;
}

.cta-contact:hover{
    background-color: greenyellow;
    color: #333 !important;
    box-shadow: 0 0 20px rgba(173, 255, 47, 0.6);
    transform: translateY(-3px);
}
.subtitle{
  display: inline-block;
    font-family: "Orbitron", sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 12px 25px !important;
    border: 1px solid greenyellow;
    color: greenyellow !important;
    border-radius: 5px;
    background: rgba(173, 255, 47, 0.05);
    width: 90%;
    max-width: 600px;
    text-align: center;
    background-color: greenyellow;
    color: #333 !important;
    box-shadow: 0 0 20px rgba(173, 255, 47, 0.6);
    
}

.imgContact {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: black 10px 10px 20px;
    border: solid greenyellow 1px;
}

/* ==========================================================================
   5. SECTION CV / FOOTER
   ========================================================================== */
.section-cv {
    text-align: center;
    margin: 20px 0; /* Réduit de 40px/60px à 20px */
    padding: 20px;
    border-top: 1px solid rgba(173, 255, 47, 0.2);
}
.section-cv p {
    font-family: "Orbitron", sans-serif;
    margin-bottom: 25px;
}

.cv-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cv-view, .btn-cv-down {
    font-family: "Orbitron", sans-serif;
    padding: 12px 25px;
    border: 1px solid greenyellow;
    color: greenyellow;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-cv-view:hover, .btn-cv-down:hover {
    background-color: greenyellow;
    color: #333;
    box-shadow: 0 0 15px greenyellow;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN
   ========================================================================== */

@media screen and (max-width: 992px) {
    .divContact {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .imgContact { max-width: 350px; }
}

@media screen and (max-width: 800px) {
    .divTitreIndex h1 {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }
}

@media screen and (max-width: 480px) {
    .divTitreIndex h1 { font-size: 1.8rem; }
    
    .cv-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .btn-cv-view, .btn-cv-down { width: 80%; }
    
    .tagline { font-size: 0.8rem; padding: 0 10px; }
}