* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Euclid Circular A', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FFFFFF;
    color: #000000;
    overflow-x: hidden; /* Déjà présent ✓ */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ENLEVER : overflow-x: hidden; */
}

/* Logo Container */
.logo-container {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 100vh;
    height: 100vh;
    z-index: 1;
}

/* SVG Logo */
.logo-svg {
    width: 100%;
    height: 100%;
}

/* Rotating Text */
.rotating-text-container {
    position: absolute;
    bottom: -56%;
    left: -28.5%;
    width: 150vh;
    height: 150vh;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
}

.rotating-text text {
    font-size: 1.159vh;
    font-weight: 300;
    fill: #000000;
    letter-spacing: 0.1em;
}

/* Hello Text */
.hello-text {
    position: absolute;
    bottom: 32%;
    right: 20%;
    font-size: 3vh;
    font-weight: 300;
    line-height: 1.5;
    text-align: right;
    z-index: 2;
}

.hello-text strong {
    font-weight: 700;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    border-radius: 50px;
    padding: 1.5vh 3vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 4vh;
    z-index: 1000;
}

.nav-logo {
    width: 3vh;
    height: 3vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 6vh;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 2vh;
    font-weight: 500;
    padding: 1vh 2vh;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Icons Section */
.icons-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 20vh;
}

.icons-container {
    display: flex;
    gap: 8vh;
    align-items: center;
    justify-content: center;
}

.icon-item {
    width: 10vh;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    opacity: 0;
    transition: transform 0.3s ease;
}

/* Animations différentes pour chaque icône */
.icon-item:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.icon-item:nth-child(2) {
    animation: fadeInScale 0.8s ease forwards;
    animation-delay: 0.4s;
}

.icon-item:nth-child(3) {
    animation: fadeInRotate 0.8s ease forwards;
    animation-delay: 0.6s;
}

.icon-item:nth-child(4) {
    animation: fadeInLeft 0.8s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInRotate {
    from {
        opacity: 0;
        transform: rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.icon-item:hover {
    transform: scale(1.1);
}

.icon-item svg,
.icon-item img {
    width: 100%;
    height: 100%;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
    background: #000000;
    color: #FFFFFF;
    padding: 1vh 2vh;
    border-radius: 50px;
    font-size: 1.8vh;
    font-weight: 500;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.custom-cursor.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-container,
    .rotating-text-container {
        width: 60vh;
        height: 60vh;
        bottom: -25%;
        left: -15%;
    }

    .rotating-text text {
        font-size: 3vh;
    }

    .hello-text {
        font-size: 2.5vh;
        bottom: 15%;
        right: 5%;
    }

    .nav-bar {
        padding: 1.2vh 2vh;
        gap: 2.5vh;
    }

    .nav-links {
        gap: 2vh;
    }

    .nav-links a {
        font-size: 1.8vh;
    }

    .icons-container {
        gap: 4vh;
    }

    .icon-item {
        width: 8vh;
        height: 8vh;
    }
}

/* Section Photographie */
.photo-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changé de center à flex-start */
    position: relative;
    padding: 5%;
    padding-left: 10%; /* Ajouté pour décaler à gauche */
    overflow: hidden;
}

.photo-grid {
    display: flex;
    flex-direction: column;
    gap: 5%;
    width: 40%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.photo-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

.photo-item {
    overflow: hidden;
    background: #f0f0f0;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-horizontal {
    width: 100%;
    height: 30vh;
}

.photo-row {
    display: flex;
    gap: 5%;
    margin-top: 5%;
}

.photo-vertical {
    width: 47.5%;
    height: 40vh;
}

/* Voir plus link */
.voir-plus {
    position: absolute;
    bottom: 8%;
    left: 10%; /* Aligné avec padding-left de photo-section */
    font-size: 2.5vh;
    font-weight: 300;
    color: #000000;
    text-decoration: none;
    font-style: normal;
    transition: all 0.3s ease;
}

.voir-plus::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.3s ease;
}

.voir-plus:hover::after {
    width: 100%;
}

/* Logo Photo */
.photo-logo {
    position: absolute;
    top: 50%; /* Changé : centré verticalement */
    transform: translateY(-50%); /* Centrage vertical parfait */
    right: -15%; /* Ajusté pour mieux déborder */
    width: 90vh; /* Augmenté de 50vh à 70vh */
    height: 90vh; /* Augmenté de 50vh à 70vh */
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.photo-logo.animate {
    opacity: 1;
}

.photo-logo img {
    width: 100%;
    height: 100%;
}

/* Section Graphisme */
.graphisme-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding: 5%;
    padding-right: 10%;
    overflow: hidden;
}

.graphisme-grid {
    display: flex;
    flex-direction: column;
    gap: 5%;
    width: 40%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.graphisme-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

.graphisme-item {
    overflow: hidden;
    background: #f0f0f0;
}

.graphisme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.graphisme-item:hover img {
    transform: scale(1.05);
}

.graphisme-row {
    display: flex;
    gap: 5%;
}

.graphisme-vertical {
    width: 47.5%;
    height: 40vh;
}

.graphisme-horizontal {
    width: 100%;
    height: 30vh;
    margin-top: 5%;
}

/* Voir plus à droite */
.voir-plus-right {
    left: auto;
    right: 10%;
}

/* Logo Graphisme */
.graphisme-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -15%;
    width: 80vh;
    height: 80vh;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.graphisme-logo.animate {
    opacity: 1;
}

.graphisme-logo img {
    width: 100%;
    height: 100%;
}

/* Section Web Design */
.web-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 5%;
    padding-left: 10%;
    overflow: hidden;
}

.web-grid {
    display: flex;
    flex-direction: column;
    gap: 5%;
    width: 40%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.web-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

.web-item {
    overflow: hidden;
    background: #f0f0f0;
}

.web-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.web-item:hover img {
    transform: scale(1.05);
}

.web-horizontal {
    width: 100%;
    height: 30vh;
    margin-top: 5%;
}

/* Logo Web */
.web-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15%;
    width: 90vh;
    height: 90vh;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.web-logo.animate {
    opacity: 1;
}

.web-logo img {
    width: 100%;
    height: 100%;
}

/* Section Vidéo */
.video-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding: 5%;
    padding-right: 10%;
    overflow: hidden;
}

.video-grid {
    display: flex;
    flex-direction: column;
    gap: 5%;
    width: 40%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.video-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

.video-item {
    overflow: hidden;
    background: #f0f0f0;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover img {
    transform: scale(1.05);
}

.video-horizontal {
    width: 100%;
    height: 30vh;
    margin-top: 5%;

}

/* Logo Vidéo */
.video-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -15%;
    width: 90vh;
    height: 90vh;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.video-logo.animate {
    opacity: 1;
}

.video-logo img {
    width: 100%;
    height: 100%;
}

/* Footer Contact */
.contact-footer {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10% 5%;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 5vh;
}

.form-row {
    display: flex;
    gap: 5%;
}

.form-field {
    flex: 1;
    position: relative;
}

.form-field.full-width {
    width: 100%;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #000000;
    background: transparent;
    padding: 1.5vh 0;
    font-size: 2vh;
    font-family: 'Euclid Circular A', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #666666;
    font-weight: 300;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: #000000;
}

.form-field textarea {
    height: 15vh;
    resize: none;
    font-family: 'Euclid Circular A', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.submit-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    font-size: 2.5vh;
    font-weight: 300;
    font-style: italic;
    color: #000000;
    cursor: pointer;
    padding: 1vh 0;
    margin-top: 2vh;
    position: relative;
    transition: all 0.3s ease;
}

.submit-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.3s ease;
}

.submit-btn:hover::after {
    width: 100%;
}

.form-success {
    margin-top: 3vh;
    color: #2b572b;
    font-size: 2vh;
    font-weight: 500;
    display: none;
}

.form-success.show {
    display: block;
}

/* Logo Footer */
.footer-logo {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 180vh;
    height: auto;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

/* =========================
   CV — Sections
========================= */

.cv-section {
    width: 100%;
    height: 100vh;
    padding: 8% 10%;
    display: flex;
    gap: 10%;
}

/* ---------- Scroll 2 ---------- */

.cv-skills {
    align-items: center;
}

.cv-left {
    width: 45%;
}

.cv-left h2 {
    font-size: 5vh;
    margin-bottom: 4vh;
}

.cv-left p {
    font-size: 2.2vh;
    line-height: 1.6;
    max-width: 55ch;
}

.cv-right {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 6vh;
}

.cv-block h3 {
    font-size: 3vh;
    margin-bottom: 2vh;
}

.cv-block ul {
    list-style: none;
}

.cv-block li {
    display: flex;
    justify-content: space-between;
    font-size: 2.1vh;
    padding: 1vh 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* ---------- Scroll 3 ---------- */

.cv-parcours {
    flex-direction: column;
    justify-content: center;
}

.cv-parcours h2 {
    font-size: 5vh;
    margin-bottom: 6vh;
}

.cv-timeline {
    display: flex;
    flex-direction: column;
    gap: 4vh;
}

.cv-item {
    display: grid;
    grid-template-columns: 20% 1fr;
    gap: 5%;
}

.cv-date {
    font-size: 2vh;
    font-weight: 500;
    opacity: 0.6;
}

.cv-item h4 {
    font-size: 2.4vh;
    margin-bottom: 1vh;
}

.cv-item p {
    font-size: 2.1vh;
    font-weight: 300;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .cv-section {
        flex-direction: column;
        height: auto;
        padding: 15% 8%;
    }

    .cv-left,
    .cv-right {
        width: 100%;
    }

    .cv-item {
        grid-template-columns: 1fr;
    }

    .cv-date {
        margin-bottom: 1vh;
    }
}


/* Responsive Footer */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 3vh;
    }
    
    .footer-logo {
        width: 60vh;
        bottom: -10%;
    }
}

/* =========================
   Page À propos
========================= */

.about-section {
    width: 100%;
    height: 100vh;
    display: flex;
}

/* Image — 60% largeur / 100vh hauteur */
.about-image {
    width: 60%;
    height: 100vh;
    overflow: hidden;
    background: #f0f0f0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texte — 40% */
.about-text {
    width: 40%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
}

.about-text h1 {
    font-size: 6vh;
    font-weight: 500;
    margin-bottom: 4vh;
}

.about-text p {
    font-size: 2.2vh;
    font-weight: 300;
    line-height: 1.6;
    max-width: 55ch;
}

.about-text strong {
    font-weight: 500;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        height: auto;
    }

    .about-image {
        width: 100%;
        height: 50vh;
    }

    .about-text {
        width: 100%;
        height: auto;
        padding: 10% 8%;
    }

    .about-text h1 {
        font-size: 5vh;
    }

    .about-text p {
        font-size: 2vh;
    }
}
