/*
Theme Name: Calixte
Theme URI: calixte.fr
Author: Romain SPKTR
Author URI: spktr.fr
Description: Theme CALIXTE
Version: DEV
License: Propriétaire
License URI: https://spktr.fr
Tags: calixte, spktr
Text Domain: CALIXTE
*/

/* FONTS */
/* Poppins */

/* COLORS */
:root {
    --primary-blue: #01003f;
    --secondary-blue: #9391fd;
    --primary-orange: #fd7759;
    --background: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--background);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

.grecaptcha-badge {
    display: none !important;
}




/* Hero Section */
.hero {
    width: 100%;
    height: 100dvh;
    position: relative;
    background: var(--primary-blue);
}

.hero-image {
    height: 100%;
    position: absolute;
    right: 0;
}

.hero-content {
    position: absolute;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    top: 35%;
    left: 5%;
}

.logo {
    width: 121px;
    height: 27px;
}

.hero-title {
    color: white;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 48px;
}

.hero-subtitle {
    color: var(--secondary-blue);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.48px;
    line-height: 20px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
    border-radius: 10px;
    font-size: 0.75rem;
    letter-spacing: 1.8px;
    cursor: pointer;
    font-weight: 400;
    width: fit-content;
    text-decoration: none;
}

.contact-button:hover {
    text-decoration: underline;
}

.arrow-icon {
    width: 11.13px;
    height: 6.45px;
    margin-left: 0.625rem;
}

/* Contact Form Section */
.contact-section {
    width: 100%;
    padding: 100px 0;
    position: relative;
}

.decorative-borders {
    position: absolute;
    width: 100%;
    height: 480px;
    top: 50px;
    z-index: 10;
}

.border-group {
    position: absolute;
    width: 335px;
    height: 360px;
}

.border-group-right {
    top: 300px;
    right: 0;
}

.border-group-left {
    top: 120px;
    left: 0;
}

.border-box {
    position: absolute;
    width: 255px;
    height: 240px;
    border: 2px solid white;
}

.border-box-bottom-left {
    top: 120px;
    left: 0;
    border-radius: 0 20px 20px 0;
}

.border-box-top-left {
    top: 0px;
    left: 80px;
    border-radius: 20px;
}

.border-box-bottom-right {
    top: 120px;
    left: 0;
    border-radius: 20px;
}

.border-box-top-right {
    top: 0;
    left: 80px;
    border-radius: 20px 0 0 20px;
}



/* ------------------ Contact Form */
.contact-form {
    max-width: 594px;
    margin: 0 auto;
    padding: 2rem;
	position: relative;
	z-index: 11;
}

.form-title {
    color: var(--primary-orange);
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--secondary-blue);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--secondary-blue);
    font-size: 0.75rem;
    letter-spacing: 1.2px;
}

form input::placeholder,
form textarea::placeholder {
    color: var(--secondary-blue);
}

form textarea {
    height: 77px;
    resize: vertical;
}

.required-field-notice {
    color: var(--primary-orange);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.36px;
    margin: 1rem 0;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.acceptance-container {
    display: flex;
    color: var(--secondary-blue);
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.4;
    width: 51%;
    gap: 1em;
}

.submit-button {
    padding: 0.625rem 3.25rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    width: fit-content;
}

.submit-button:hover {
    background: var(--primary-orange);
}

.wpcf7-spinner {
    display: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: 25px;
    color: var(--primary-blue);
}



/* ---------------- Footer */
.main-footer {
    background: white;
    padding: 3rem;
    display: flex;
    justify-content: center;
    gap: 226px;
    align-items: center;
}

.footer-logo {
    width: 184px;
    height: 41px;
}

.contact-info {
    font-size: 0.875rem;
    letter-spacing: 0.42px;
    line-height: 20px;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 300;
}

.contact-info a.tel-link {
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}



/* ----------------- Copyright Bar */
.copyright-bar {
    background: var(--secondary-blue);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    color: white;
    font-size: 0.6875rem;
    font-weight: 300;
}

.copyright-bar a {
    color: white;
    text-decoration: none;
}

.copyright-bar a:hover {
    text-decoration: underline;
    color: var(--primary-blue);
}

.separator {
    color: var(--primary-blue);
}

/* Mobile Responsive Styles */
@media (max-width: 968px) {
    .hero {
        height: 100vh;
    }

    .hero-image {
        max-height: 40%;
        max-width: 100%;
        object-fit: contain;
        background-position: top;
    }

    .hero-content {
        padding: 120px 20px 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
        line-height: 40px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .decorative-borders {
        display: none;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-title {
        font-size: 36px;
        text-align: center;
    }

    .form-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .terms-checkbox {
        max-width: 100%;
    }

    .main-footer {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }

    .copyright-bar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 0.5rem;
        text-align: center;
    }

    .separator {
        display: none;
    }

    .wpcf7-not-valid-tip {
        margin-bottom: 1em;
    }

    .acceptance-container {
        width: 100%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 32px;
    }

    .hero-content {
        padding: 100px 15px 0;
        gap: 30px;
    }

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

    .contact-button {
        width: 100%;
        justify-content: center;
    }

    .form-title {
        font-size: 32px;
    }

    .submit-button {
        width: 100%;
        text-align: center;
    }

    .footer-logo {
        width: 140px;
        height: auto;
    }

    .contact-info {
        font-size: 0.75rem;
    }
}

/* Landscape Mode */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 80px 20px;
        gap: 20px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 28px;
    }
}




/* ----------------- 404 */
.error-page {
    height: 100dvh;
    /* Hauteur totale moins footer et copyright */
    background: var(--primary-blue);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-content {
    text-align: center;
    z-index: 1;
    max-width: 600px;
}

.error-title {
    color: var(--primary-orange);
    font-size: 120px;
    font-weight: 600;
    margin: 2rem 0;
    line-height: 1;
}

.error-message {
    color: var(--secondary-blue);
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.return-button {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
    border-radius: 10px;
    font-size: 0.75rem;
    letter-spacing: 1.8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.return-button:hover {
    background: var(--primary-orange);
    color: white;
}

.return-button .arrow-icon {
    width: 11.13px;
    height: 6.45px;
    margin-left: 0.625rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-title {
        font-size: 80px;
    }

    .error-message {
        font-size: 20px;
        margin-bottom: 2rem;
    }

    .decorative-borders {
        display: none;
    }
}

@media (max-width: 480px) {
    .error-title {
        font-size: 60px;
    }

    .error-message {
        font-size: 18px;
    }

    .return-button {
        width: 100%;
        justify-content: center;
    }
}



/* ----------------- SIMPLE PAGE */
/* Structure principale */
.page-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    z-index: 1;
}

/* Section Introduction */
.intro-section {
    position: relative;
    height: 50vh;
    z-index: 4;
    background-color: var(--primary-blue);
}

.logo-container {
    padding: 2rem 0 0 6rem;
    position: relative;
    z-index: 2;
}

.logo {
    width: 121px;
    height: 27px;
}

.intro-content {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.intro-title {
    color: var(--primary-orange);
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Section Contenu */
.content-section {
    position: relative;
    background-color: var(--background);
    padding: 4rem 0;
    z-index: 20;
}

.content-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.page-content {
    width: 60%;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
}

.page-content p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intro-content {
        width: 40%;
    }

    .page-content {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .logo-container {
        padding: 2rem 0 0 2rem;
    }

    .intro-content {
        width: 80%;
        left: 2rem;
    }

    .intro-title {
        font-size: 36px;
    }

    .page-content {
        width: 90%;
        padding: 0 2rem;
    }

    .decorative-borders {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-container {
        padding: 1.5rem;
    }

    .intro-content {
        left: 1.5rem;
    }

    .intro-title {
        font-size: 28px;
    }

    .separator {
        width: 60%;
    }
}