:root {
    --blue: #032450;
    --orange: #ff914d;
    --yellow: #ffde59;
    --white: #ffffff;
    --cream: #fff7ec;
    --text: #1f1f1f;
    --border: #ece3d7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* HEADER */

.site-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 250px;
    display: block;
    margin-top: 8px;
}

.logo img {
    height: 250px;
}

/* NAVIGATION */

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--orange);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO */

.hero-home {
    padding: 40px 0 60px;
}

.hero-home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-home-content {
    flex: 1;
}

.hero-label {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 145, 77, 0.12);
    color: var(--orange);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-home-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--blue);
    margin-bottom: 25px;
}

.hero-home-content p {
    max-width: 650px;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--white);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.hero-home-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.art-card {
    width: 100%;
    max-width: 500px;
    height: 650px;
    border-radius: 35px;
    overflow: hidden;
    border: 2px solid #d4af37;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INTRO */

.intro-section {
    padding: 40px 0;
}

.intro-container {
    max-width: 850px;
    text-align: center;
}

.intro-container h2 {
    font-size: 2.8rem;
    color: var(--blue);
    margin-bottom: 30px;
}

.intro-container p {
    font-size: 1.1rem;
    color: #555;
}

/* GALLERY */

.gallery-preview {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title span {
    color: var(--orange);
    font-weight: 600;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--blue);
    margin: 15px 0;
}

.section-title p {
    color: #666;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.preview-card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    border: 2px solid #d4af37;
    padding: 6px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
}

.preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.18);
}

.preview-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
}

.gallery-link {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 5000;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    border: 3px solid #d4af37;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #d4af37;
}

.gallery-image {
    cursor: pointer;
}

/* QUOTE */

.quote-section {
    padding: 60px 0;
    text-align: center;
}

.quote-container {
    background: #fffaf3;
    border: 2px solid #d4af37;
    border-radius: 35px;
    padding: 45px 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.quote-section p {
    font-size: 2rem;
    color: var(--blue);
    font-weight: 500;
    max-width: 900px;
    margin: auto;
    line-height: 1.5;
}

/* FOOTER */

.site-footer {
    background: #fffaf3;
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

.footer-container {
    padding: 80px 0 60px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -95px;
}

.footer-brand img {
    width: 250px;
    height: auto;
    display: block;
    margin-left: -27px;
    margin-bottom: -70px;
}

.footer-brand p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.footer-column h3 {
    color: var(--blue);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 14px;
}

.footer-column ul li a {
    color: #555;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
}

/* PAGE GALERIE */

.page-hero {
    padding: 50px 0 40px;
    text-align: center;
}

.page-hero-container {
    max-width: 850px;
}

.page-hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--blue);
    margin-bottom: 25px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #555;
}

.gallery-categories {
    padding: 30px 0 60px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.category-card {
    position: relative;
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 2px solid #d4af37;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
    transition: 0.4s;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.18);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.78),
        rgba(0,0,0,0.18)
    );
}

.category-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    color: white;
    display: flex;
    flex-direction: column;
}

.category-content .btn-primary {
    margin: auto auto 0 auto;
    transition: 0.3s;
}

.category-content .btn-primary:hover {
    background: #d4af37;
    color: var(--blue);
    transform: translateY(-3px);
}

.category-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.category-content p {
    color: rgba(255,255,255,0.92);
    margin-bottom: 25px;
}

/* BACKGROUNDS IMG CARD PAGE GALERIE */

.tableaux-card {
    background-image: url("../img/tableaupapa.webp");
}

.dessins-card {
    background-image: url("../img/dessinindien.webp");
}

.prenoms-card {
    background-image: url("../img/margotprenom.webp");
}

.anneaux-card {
    background-image: url("../img/anneauortance.webp");
}

.village-card {
    background-image: url("../img/village1.webp");
}

/* faq */

/* FAQ */

.faq-section {
    padding: 30px 0 70px;
}

.faq-container {
    max-width: 900px;
}

.faq-item {
    background: #fffaf3;
    border: 2px solid #d4af37;
    border-radius: 25px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--blue);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

.faq-question span {
    font-size: 1.8rem;
    color: var(--orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.faq-answer p {
    padding: 25px 30px 25px;
    color: #555;
    position: relative;
}

.faq-answer p::before {
    content: "";
    display: block;
    width: 380px;
    height: 2px;
    background: #d4af37;
    margin: 0 auto 30px;
    border-radius: 100px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* PAGE TABLEAUX */

.portraits-card {
    background-image: url("../img/tableaupapa.webp");
}

.paysages-card {
    background-image: url("../img/tableauphare.webp");
}

.animaux-card {
    background-image: url("../img/tableauaigle.webp");
}

.personnalises-card {
    background-image: url("../img/harleyperso.webp");
}

.disney-card {
    background-image: url("../img/stitch1.webp");
}

/* page portraits */

.artwork-card {
    position: relative;
}

.artwork-card img {
    height: 460px;
}

.artwork-overlay-info {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 80px 25px 25px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.82),
        rgba(0,0,0,0)
    );
    color: white;
}

.artwork-overlay-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.artwork-overlay-info p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

/* PAGE DESSINS */

.dessins-artistiques-card {
    background-image: url("../img/indien.webp");
}

/* page disney dessin animes */

.artwork-landscape {
    grid-column: span 2;
}

.artwork-landscape img {
    height: 460px;
}

/* page prenoms lettres */

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.artwork-landscape {
    grid-column: span 1;
}

.artwork-card {
    height: 320px;
}

.artwork-card img {
    height: 100%;
    object-fit: cover;
}

/* PAGE A PROPOS */

.about-intro {
    padding: 100px 0 60px;
}

.about-intro-container {
    display: flex;
    align-items: center;
    gap: 90px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 430px;
    border-radius: 30px;
    border: 2px solid rgba(255, 179, 71, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.about-content {
    flex: 1.4;
}

.about-content span {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 3.4rem;
    line-height: 1.2;
    color: var(--blue);
    margin-bottom: 30px;
}

.about-content p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}


/* TIMELINE */

.about-timeline {
    padding: 120px 0;
}

.timeline {
    position: relative;
    max-width: 1300px;
    margin: 100px auto 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(
        to bottom,
        #ffb347,
        #ff914d
    );
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 70px;
    margin-bottom: 100px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 40px;
    width: 28px;
    height: 28px;
    background: #ff914d;
    border: 5px solid #fff6ee;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 25px rgba(255, 145, 77, 0.35);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -14px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -14px;
}

.timeline-content {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 179, 71, 0.22);
    border-radius: 30px;
    padding: 40px;
    transition: 0.35s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.timeline-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 179, 71, 0.04),
        transparent
    );
    pointer-events: none;
}

.timeline-content:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 145, 77, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.timeline-content h3 {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.timeline-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}


/* CITATION */

.about-quote {
    padding: 20px 0 140px;
}

.about-quote blockquote {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.7;
    color: var(--blue);
    font-weight: 600;
    position: relative;
    padding: 80px 100px;
}

.about-quote blockquote::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 9rem;
    line-height: 1;
    color: rgba(255, 145, 77, 0.12);
    font-family: serif;
}

.about-quote blockquote::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 4px;
    border-radius: 50px;
    background: linear-gradient(
        to right,
        #ffb347,
        #ff914d
    );
}

.about-identity {
    width: 100%;
    max-width: 430px;
    margin-top: 25px;
    padding: 25px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 179, 71, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.about-identity h3 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 8px;
}

.about-identity span {
    color: var(--orange);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* page mentions legales */

.legal-card a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

.legal-card a:hover {
    color: var(--orange);
}

/* CONTACT */

.contact-section {
    padding: 100px 0 140px;
}

.contact-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info span {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info h2 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--blue);
    margin-bottom: 25px;
}

.contact-info p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}

.contact-form-card {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 179, 71, 0.22);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 179, 71, 0.25);
    background: rgba(255,255,255,0.65);
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 1rem;
    color: #222;
    transition: 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff914d;
    box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.12);
}

.hidden-field {
    display: none;
}

.contact-form-card .btn-primary {
    width: fit-content;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.form-message {
    padding: 18px 22px;
    border-radius: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    transition: 0.3s ease;
}

.form-message.success {
    background: rgba(58, 181, 74, 0.12);
    color: #1c7c2c;
    border: 1px solid rgba(58, 181, 74, 0.2);
}

.form-message.error {
    background: rgba(255, 80, 80, 0.12);
    color: #b42323;
    border: 1px solid rgba(255, 80, 80, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.required {
    color: #d93025;
    font-weight: 700;
}

.required-info {
    margin-top: 25px;
    font-size: 0.95rem;
}

.required-info span {
    color: #d93025;
    font-weight: 700;
}

/* RESPONSIVE */

@media screen and (max-width: 1100px) {

    .hero-home-container,
    .about-intro-container,
    .contact-container {
        flex-direction: column;
        gap: 50px;
    }

    .hero-home-content,
    .hero-home-visual,
    .about-image,
    .about-content,
    .contact-info,
    .contact-form-card {
        width: 100%;
    }

    .category-grid,
    .preview-grid,
    .prenoms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-brand {
        margin-top: 0;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 11px;
        right: auto;
    }

}

@media screen and (max-width: 768px) {

    .header-container {
        height: auto;
        padding: 10px 0 14px;
        flex-direction: column;
        gap: 8px;
    }

    .logo img {
        height: 95px;
        margin-top: -12px;
        margin-bottom: -20px;
    }

    .nav-links {
        gap: 22px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .hero-home {
        padding-top: 25px;
    }

    .hero-home-content h1,
    .page-hero h1 {
        font-size: 3rem;
    }

    .intro-container h2,
    .section-title h2,
    .contact-info h2,
    .about-content h2 {
        font-size: 2.3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-grid,
    .preview-grid,
    .prenoms-grid {
        grid-template-columns: 1fr;
    }

    .art-card {
        height: 460px;
    }

    .preview-card img,
    .artwork-card img {
        height: 360px;
    }

    .category-card {
        min-height: 360px;
    }

    .contact-form-card {
        padding: 30px;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand img {
        width: 220px;
        margin-left: -24px;
    }

    .faq-answer p::before {
        width: 220px;
    }

    .about-quote blockquote {
        font-size: 1.8rem;
        padding: 50px 20px;
    }

}

@media screen and (max-width: 480px) {

    .container {
        width: 92%;
    }

    .hero-home,
    .page-hero {
        padding: 35px 0;
    }

    .hero-home-content h1,
    .page-hero h1 {
        font-size: 2.4rem;
    }

    .hero-home-content p,
    .page-hero p {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .preview-card img,
    .artwork-card img {
        height: 300px;
    }

    .artwork-overlay-info {
        padding: 70px 20px 20px;
    }

    .artwork-overlay-info h3 {
        font-size: 1.2rem;
    }

    .category-content h2 {
        font-size: 1.6rem;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 55px;
    }

    .timeline-content {
        padding: 25px;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .contact-section,
    .about-timeline {
        padding: 70px 0;
    }

}